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*