From: Thomas Monjalon Date: Thu, 2 Apr 2015 16:14:23 +0000 (+0200) Subject: mk: reduce PDF build commands X-Git-Tag: spdx-start~9332 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=0797b1df45593f4f6ba95d2a86582499ef0da43a;p=dpdk.git mk: reduce PDF build commands In case of documents without image, an empty rm command can be seen if V=1. Remove it to avoid disturbing debugging. Signed-off-by: Thomas Monjalon Acked-by: Siobhan Butler --- diff --git a/mk/rte.sdkdoc.mk b/mk/rte.sdkdoc.mk index f91e079825..9952f25885 100644 --- a/mk/rte.sdkdoc.mk +++ b/mk/rte.sdkdoc.mk @@ -99,7 +99,7 @@ guides-pdf-%: $(Q)$(RTE_SPHINX_BUILD) -b latex $(RTE_SPHINX_VERBOSE) \ -c $(RTE_SDK)/doc/guides $(RTE_SDK)/doc/guides/$* \ $(RTE_OUTPUT)/doc/pdf/guides/$* - $(Q)rm -f $^ + $(if $^,$(Q)rm -f $^) @echo 'pdflatex processing $@...' $(Q)$(MAKE) all-pdf -sC $(RTE_OUTPUT)/doc/pdf/guides/$* \ LATEXOPTS=$(RTE_PDFLATEX_VERBOSE)