summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Monjalon <thomas.monjalon@6wind.com>2015-04-02 18:14:23 +0200
committerThomas Monjalon <thomas.monjalon@6wind.com>2015-04-03 16:13:36 +0200
commit0797b1df45593f4f6ba95d2a86582499ef0da43a (patch)
tree873ad6748f7e2fb42be2d35f7312552790aab3c6
parent3eb4b1f6efbfaf45d994a83c8762bdedf209bdae (diff)
downloaddpdk-0797b1df45593f4f6ba95d2a86582499ef0da43a.zip
dpdk-0797b1df45593f4f6ba95d2a86582499ef0da43a.tar.gz
dpdk-0797b1df45593f4f6ba95d2a86582499ef0da43a.tar.xz
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 <thomas.monjalon@6wind.com> Acked-by: Siobhan Butler <siobhan.a.butler@intel.com>
-rw-r--r--mk/rte.sdkdoc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/rte.sdkdoc.mk b/mk/rte.sdkdoc.mk
index f91e079..9952f25 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)