mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-16 06:53:03 +00:00
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:
parent
4d91638215
commit
76ed358f37
1
debian/quagga-doc.docs
vendored
1
debian/quagga-doc.docs
vendored
@ -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
2
debian/rules
vendored
@ -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*
|
||||||
|
Loading…
Reference in New Issue
Block a user