]> git.puffer.fish Git - matthieu/frr.git/commitdiff
conditional-quagga-pdf.patch
authorDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 19 May 2015 23:31:06 +0000 (16:31 -0700)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 19 May 2015 23:31:06 +0000 (16:31 -0700)
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
debian/rules

index d3607ef033b7c31562e20b826f0224ea087a3481..a0776fd68a3f2abfa95dce4602dd022318451918 100644 (file)
@@ -2,7 +2,6 @@ AUTHORS
 NEWS
 README
 REPORTING-BUGS
-doc/quagga.pdf
 doc/BGP-TypeCode
 doc/draft-zebra-00.txt
 doc/mpls/
index 3e3b62ea229788221dc8df278be652255e672c2c..536b8005019083ea245c4260e15406a3ca16575c 100755 (executable)
@@ -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*