As suggested [1] by Ramkumar Ramachandra <[email protected]>. [1] mid:"calkwk0kvqg5lsw8htrpg4tav9emc_wwrlgs2wziks9rqd7o...@mail.gmail.com"
Signed-off-by: Pieter Praet <[email protected]> --- Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 32571b9..6c4573c 100644 --- a/Makefile +++ b/Makefile @@ -25,6 +25,7 @@ ELCS = $(ELS:.el=.elc) CP ?= install -p -m 644 CPBIN ?= install -p -m 755 MKDIR ?= install -p -m 755 -d +RM ?= rm -rf MAKEINFO ?= makeinfo INSTALL_INFO ?= install-info @@ -177,9 +178,9 @@ test-interactive: $(ELCS) .PHONY: clean clean: - rm -f $(ELCS) $(LOADDEFS_FILE) magit-version.el - rm -fr magit-$(VERSION) *.tar.gz *.tar - -test ! -d .git && rm -f magit.info + $(RM) $(ELCS) $(LOADDEFS_FILE) magit-version.el + $(RM) magit-$(VERSION) *.tar.gz *.tar + -test ! -d .git && $(RM) magit.info DIST_FILES = $(ELS) magit-version.el Makefile AUTHORS DIST_FILES += README.md INSTALL.md magit.texi magit.info dir @@ -195,7 +196,7 @@ magit-$(VERSION).tar.gz: $(DIST_FILES) $(CP) $(DIST_FILES) magit-$(VERSION) $(CPBIN) $(DIST_FILES_BIN) magit-$(VERSION)/bin tar -cvz --mtime=./magit-$(VERSION) -f magit-$(VERSION).tar.gz magit-$(VERSION) - rm -rf magit-$(VERSION) + $(RM) magit-$(VERSION) .PHONY: marmalade marmalade: magit-$(VERSION).tar @@ -213,4 +214,4 @@ magit-$(VERSION).tar: $(ELPA_FILES) magit-pkg.el $(CP) $(ELPA_FILES) magit-$(VERSION) $(CP) magit-pkg.el magit-$(VERSION) tar -cv --mtime=./magit-$(VERSION) -f magit-$(VERSION).tar magit-$(VERSION) - rm -rf magit-$(VERSION) + $(RM) magit-$(VERSION) -- 1.7.11.1 -- --- You received this message because you are subscribed to the Google Groups "magit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
