aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2015-08-16 19:26:00 +0200
committerJonas Bernoulli <jonas@bernoul.li>2015-08-16 19:26:00 +0200
commit9ecafdbda69bebb3deec66968202c0aea807454e (patch)
tree0c398045f348425a2f84271bf9e51a833eebd809 /Makefile
parenta66b09068f9202ab244fb73cbbe0b04faca33d0b (diff)
make: add new clean-archives target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 961855f..5163da1 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ include default.mk
.PHONY: lisp \
install install-lisp install-docs install-info \
test test-interactive \
- clean clean-lisp clean-docs \
+ clean clean-lisp clean-docs clean-archives \
genstats \
dist magit-$(VERSION).tar.gz elpa $(ELPA_ARCHIVES)
@@ -81,11 +81,10 @@ test-interactive:
(load-file \"t/magit-tests.el\")\
(ert t))"
-clean: clean-lisp clean-docs
+clean: clean-lisp clean-docs clean-archives
@printf "Cleaning...\n"
@$(RM) $(ELCS) $(ELGS) # temporary cleanup kludge
- @$(RM) git-commit-*.el *.tar.gz *.tar Documentation/*.texi~
- @$(RMDIR) magit-$(VERSION)
+ @$(RM) Documentation/*.texi~
clean-lisp:
@$(MAKE) -C lisp clean
@@ -93,6 +92,10 @@ clean-lisp:
clean-docs:
@$(MAKE) -C Documentation clean
+clean-archives:
+ @$(RM) git-commit-*.el *.tar.gz *.tar
+ @$(RMDIR) magit-$(VERSION)
+
# Release management
genstats: