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.
This commit is contained in:
Donald Sharp 2015-05-19 16:31:06 -07:00
parent 4d91638215
commit 76ed358f37
2 changed files with 2 additions and 1 deletions

View File

@ -2,7 +2,6 @@ AUTHORS
NEWS NEWS
README README
REPORTING-BUGS REPORTING-BUGS
doc/quagga.pdf
doc/BGP-TypeCode doc/BGP-TypeCode
doc/draft-zebra-00.txt doc/draft-zebra-00.txt
doc/mpls/ doc/mpls/

2
debian/rules vendored
View File

@ -70,7 +70,9 @@ override_dh_auto_build:
dh_auto_build dh_auto_build
# doc/ is a bit crazy # 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 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 rm -vf doc/quagga.info
dh_auto_build -- -C doc quagga.info dh_auto_build -- -C doc quagga.info
rm -vf doc/quagga.info.html* rm -vf doc/quagga.info.html*