From 76ed358f370cdfdb60033b348f16de0458d8c192 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Tue, 19 May 2015 16:31:06 -0700 Subject: [PATCH] conditional-quagga-pdf.patch The building of quagga.pdf requires the convert program out of the imagemagick package. Getting this to run correctly in the scratchbox2 environment is painful. Conditionally generate documentation during native compilation. --- debian/quagga-doc.docs | 1 - debian/rules | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/quagga-doc.docs b/debian/quagga-doc.docs index d3607ef033..a0776fd68a 100644 --- a/debian/quagga-doc.docs +++ b/debian/quagga-doc.docs @@ -2,7 +2,6 @@ AUTHORS NEWS README REPORTING-BUGS -doc/quagga.pdf doc/BGP-TypeCode doc/draft-zebra-00.txt doc/mpls/ diff --git a/debian/rules b/debian/rules index 3e3b62ea22..536b800501 100755 --- a/debian/rules +++ b/debian/rules @@ -70,7 +70,9 @@ override_dh_auto_build: dh_auto_build # doc/ is a bit crazy +ifeq ($(GENERATE_PDF), 1) dh_auto_build -- -C doc quagga.pdf || true # pdfetex fails with exit code 1 but still produces a good looking .pdf +endif rm -vf doc/quagga.info dh_auto_build -- -C doc quagga.info rm -vf doc/quagga.info.html* -- 2.39.5