diff options
author | David Kalnischkies <david@kalnischkies.de> | 2022-04-20 13:18:20 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2022-05-07 10:45:44 +0200 |
commit | c5b22c3dabd0cc8d0ce87576cded2594c2cd7ca1 (patch) | |
tree | 8f4a73e9f96e00e6068b6ddad71f3dd4c09d35bd | |
parent | cd92098caa64b7fd30cdc6b5d56bf7e9e17a449e (diff) |
Add pkg.apt.nodoxygen build profile
The documentation generated by doxygen is currently not reproducible,
but as fixing this seems hard we can at least provide a way to check
more automatically if the rest of src:apt is reproducible or not.
-rw-r--r-- | debian/control | 2 | ||||
-rwxr-xr-x | debian/rules | 15 |
2 files changed, 11 insertions, 6 deletions
diff --git a/debian/control b/debian/control index 44650bfb9..7a91e0f05 100644 --- a/debian/control +++ b/debian/control @@ -31,7 +31,7 @@ Build-Depends: cmake (>= 3.4), triehash, xsltproc <!nodoc>, zlib1g-dev -Build-Depends-Indep: doxygen <!nodoc>, graphviz <!nodoc>, w3m <!nodoc> +Build-Depends-Indep: doxygen <!nodoc !pkg.apt.nodoxygen>, graphviz <!nodoc !pkg.apt.nodoxygen>, w3m <!nodoc> Vcs-Git: https://salsa.debian.org/apt-team/apt.git Vcs-Browser: https://salsa.debian.org/apt-team/apt diff --git a/debian/rules b/debian/rules index 9ab42f24c..e7cbdc732 100755 --- a/debian/rules +++ b/debian/rules @@ -44,12 +44,17 @@ override_dh_installsystemd: dh_installsystemd -papt --no-restart-on-upgrade --no-restart-after-upgrade --no-start apt-daily.service apt-daily-upgrade.service dh_installsystemd --remaining-packages -ifeq ($(filter nodoc,$(DEB_BUILD_PROFILES)),) -override_dh_auto_configure-arch: configure_doc_flags="-DWITH_DOC=OFF -DWITH_DOC_MANPAGES=ON" -override_dh_auto_configure-indep: configure_doc_flags="-DWITH_DOC=ON" +ifneq ($(filter pkg.apt.nodoxygen,$(DEB_BUILD_PROFILES)),) +override_dh_auto_configure-arch: configure_doc_flags=-DWITH_DOC=OFF -DWITH_DOC_MANPAGES=ON +override_dh_auto_configure-indep: configure_doc_flags=-DWITH_DOC=OFF -DWITH_DOC_GUIDES=ON -DWITH_DOC_EXAMPLES=ON else -override_dh_auto_configure-arch: configure_doc_flags="-DWITH_DOC=OFF" -override_dh_auto_configure-indep: configure_doc_flags="-DWITH_DOC=OFF" +ifneq ($(filter nodoc,$(DEB_BUILD_PROFILES)),) +override_dh_auto_configure-arch: configure_doc_flags=-DWITH_DOC=OFF +override_dh_auto_configure-indep: configure_doc_flags=-DWITH_DOC=OFF +else +override_dh_auto_configure-arch: configure_doc_flags=-DWITH_DOC=OFF -DWITH_DOC_MANPAGES=ON +override_dh_auto_configure-indep: configure_doc_flags=-DWITH_DOC=ON +endif endif override_dh_auto_configure-arch override_dh_auto_configure-indep: |