Mention that git-rm can be an appropriate resolution as well as git-add.
[gitweb.git] / templates / Makefile
index aaa39d30fa57c21f15b5308f8d51de5c2e9d59c0..6f4dbd362fffdd85570c2223ad7d98015e7970ae 100644 (file)
@@ -6,6 +6,7 @@ endif
 
 INSTALL ?= install
 TAR ?= tar
+RM ?= rm -f
 prefix ?= $(HOME)
 template_dir ?= $(prefix)/share/git-core/templates
 # DESTDIR=
@@ -42,7 +43,7 @@ custom:
        $(QUIET): no custom templates yet
 
 clean:
-       rm -rf blt boilerplates.made
+       $(RM) -r blt boilerplates.made
 
 install: all
        $(INSTALL) -d -m755 '$(DESTDIR_SQ)$(template_dir_SQ)'