From: Donald Sharp Date: Tue, 19 May 2015 23:31:06 +0000 (-0700) Subject: conditional-quagga-pdf.patch X-Git-Tag: frr-2.0-rc1~1570 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=76ed358f370cdfdb60033b348f16de0458d8c192;p=matthieu%2Ffrr.git 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. --- 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*