[dpdk-stable] [PATCH 19.11] mk: fix PDF build with recent inkscape

Thomas Monjalon thomas at monjalon.net
Wed Mar 17 17:55:00 CET 2021


The options -f and -A (for input and PDF output)
were dropped in recent inkscape versions.

Warning: not tested on old versions!

Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
---
 mk/rte.sdkdoc.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mk/rte.sdkdoc.mk b/mk/rte.sdkdoc.mk
index fd77e41867..4388c6c8bd 100644
--- a/mk/rte.sdkdoc.mk
+++ b/mk/rte.sdkdoc.mk
@@ -101,4 +101,4 @@ guides-%: guides-%-prepare
 $(foreach guide, $(RTE_GUIDES), $(foreach img, $(wildcard $(guide)img/*.svg), \
 	$(eval guides-pdf-$(notdir $(guide:/=)): $(img:svg=pdf))))
 %.pdf: %.svg
-	$(Q)inkscape -d $(RTE_PDF_DPI) -D -f $< -A $@ $(RTE_INKSCAPE_VERBOSE)
+	$(Q)inkscape -d $(RTE_PDF_DPI) -D $< -o $@ $(RTE_INKSCAPE_VERBOSE)
-- 
2.30.1



More information about the stable mailing list