Skip to content

Commit 7ba3016

Browse files
felipecgitster
authored andcommitted
doc: avoid using rm directly
That's what we have $(RM) for. Signed-off-by: Felipe Contreras <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent db10fc6 commit 7ba3016

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Documentation/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ git.info: user-manual.texi
398398
user-manual.texi: user-manual.xml
399399
$(QUIET_DB2TEXI)$(DOCBOOK2X_TEXI) user-manual.xml --encoding=UTF-8 --to-stdout >$@+ && \
400400
$(PERL_PATH) fix-texi.perl <$@+ >$@ && \
401-
rm $@+
401+
$(RM) $@+
402402

403403
user-manual.pdf: user-manual.xml
404404
$(QUIET_DBLATEX)$(DBLATEX) -o $@ $(DBLATEX_COMMON) $<
@@ -407,9 +407,9 @@ gitman.texi: $(MAN_XML) cat-texi.perl texi.xsl
407407
$(QUIET_DB2TEXI) \
408408
($(foreach xml,$(sort $(MAN_XML)),xsltproc -o $(xml)+ texi.xsl $(xml) && \
409409
$(DOCBOOK2X_TEXI) --encoding=UTF-8 --to-stdout $(xml)+ && \
410-
rm $(xml)+ &&) true) > $@+ && \
410+
$(RM) $(xml)+ &&) true) > $@+ && \
411411
$(PERL_PATH) cat-texi.perl $@ <$@+ >$@ && \
412-
rm $@+
412+
$(RM) $@+
413413

414414
gitman.info: gitman.texi
415415
$(QUIET_MAKEINFO)$(MAKEINFO) --no-split --no-validate $*.texi

0 commit comments

Comments
 (0)