summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2021-05-21 22:29:41 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-05-24 09:08:22 (GMT)
commit7ba30167291eb89f2e587b7cabfa4e7555de4ed5 (patch)
treefc7ac78b3a4d6214fa4510bbe2c0397285287d52
parentdb10fc6c09f1f74c4d0a9294ecbb68d390f54f15 (diff)
downloadgit-7ba30167291eb89f2e587b7cabfa4e7555de4ed5.zip
git-7ba30167291eb89f2e587b7cabfa4e7555de4ed5.tar.gz
git-7ba30167291eb89f2e587b7cabfa4e7555de4ed5.tar.bz2
doc: avoid using rm directly
That's what we have $(RM) for. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--Documentation/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/Makefile b/Documentation/Makefile
index eaff97d..f5605b7 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -398,7 +398,7 @@ git.info: user-manual.texi
user-manual.texi: user-manual.xml
$(QUIET_DB2TEXI)$(DOCBOOK2X_TEXI) user-manual.xml --encoding=UTF-8 --to-stdout >$@+ && \
$(PERL_PATH) fix-texi.perl <$@+ >$@ && \
- rm $@+
+ $(RM) $@+
user-manual.pdf: user-manual.xml
$(QUIET_DBLATEX)$(DBLATEX) -o $@ $(DBLATEX_COMMON) $<
@@ -407,9 +407,9 @@ gitman.texi: $(MAN_XML) cat-texi.perl texi.xsl
$(QUIET_DB2TEXI) \
($(foreach xml,$(sort $(MAN_XML)),xsltproc -o $(xml)+ texi.xsl $(xml) && \
$(DOCBOOK2X_TEXI) --encoding=UTF-8 --to-stdout $(xml)+ && \
- rm $(xml)+ &&) true) > $@+ && \
+ $(RM) $(xml)+ &&) true) > $@+ && \
$(PERL_PATH) cat-texi.perl $@ <$@+ >$@ && \
- rm $@+
+ $(RM) $@+
gitman.info: gitman.texi
$(QUIET_MAKEINFO)$(MAKEINFO) --no-split --no-validate $*.texi