Commit d883bdfc authored by Lukas Schwaighofer's avatar Lukas Schwaighofer Committed by SZ Lin (林上智)

generate doc only when building arch: all

only generate the doxygen documentation when building Architecture: all
packages
parent c9e68011
openvas-libraries (9.0.1-5) UNRELEASED; urgency=medium
* Team upload.
* Only generate doxygen documentation when building Architecture: all
packages.
-- Lukas Schwaighofer <lukas@schwaighofer.name> Tue, 26 Sep 2017 23:26:11 +0200
openvas-libraries (9.0.1-4) unstable; urgency=medium
[ SZ Lin (林上智) ]
* Fix FTBFS issue by trailing whitespace in PCAP_LDFLAGS (Closes: #876093)
......
......@@ -7,7 +7,6 @@ Uploaders: ChangZhuo Chen (陳昌倬) <czchen@debian.org>,
Build-Depends: debhelper (>= 10.3),
bison,
cmake,
doxygen,
libgcrypt-dev,
libglib2.0-dev,
libgnutls28-dev,
......@@ -19,6 +18,7 @@ Build-Depends: debhelper (>= 10.3),
libssh-dev,
uuid-dev,
libsnmp-dev
Build-Depends-Indep: doxygen
Homepage: http://www.openvas.org/
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-security/openvas-libraries.git
Vcs-Git: https://anonscm.debian.org/cgit/pkg-security/openvas-libraries.git
......
......@@ -18,12 +18,14 @@ override_dh_auto_configure:
-DBUILD_WITH_RADIUS=no \
$(NULL)
# we also want to build the doxygen documentation
override_dh_auto_build:
dh_auto_build
# Architecture: all only: build the doxygen documentation
override_dh_auto_build-indep:
ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
dh_auto_build -- doc
endif
# doxygen documentation is installed using dh_installdocs
override_dh_auto_install-indep:
override_dh_missing:
dh_missing --fail-missing
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment