diff options
author | Gioele Barabucci <gioele@svario.it> | 2025-02-13 14:52:23 +0100 |
---|---|---|
committer | Gioele Barabucci <gioele@svario.it> | 2025-02-14 05:21:40 +0100 |
commit | f54ffb63b95cb46b809284124295787f39bd7ed8 (patch) | |
tree | e9bad918bfa0722978e79fa82d82ed604f742feb | |
parent | aab675ec3b3d04aa33413d7ae24c69ec739d443a (diff) | |
download | pam-f54ffb63b95cb46b809284124295787f39bd7ed8.tar.gz pam-f54ffb63b95cb46b809284124295787f39bd7ed8.tar.bz2 pam-f54ffb63b95cb46b809284124295787f39bd7ed8.zip |
Add support for <!nodoc>
-rw-r--r-- | debian/control | 2 | ||||
-rwxr-xr-x[-rw-r--r--] | debian/libpam-runtime.links | 3 | ||||
-rwxr-xr-x | debian/rules | 6 |
3 files changed, 7 insertions, 4 deletions
diff --git a/debian/control b/debian/control index 398ce492..963e48a4 100644 --- a/debian/control +++ b/debian/control @@ -4,7 +4,7 @@ Priority: optional Maintainer: Sam Hartman <hartmans@debian.org> Standards-Version: 4.6.2 Build-Depends: debhelper-compat (= 13), dh-exec, flex, libcrypt-dev, libdb-dev, libselinux1-dev [linux-any], libsystemd-dev [linux-any] <!stage1>, po-debconf, meson, libaudit-dev [linux-any] <!stage1>, pkgconf, libfl-dev, libfl-dev:native -Build-Depends-Indep: docbook-xsl-ns, docbook5-xml, xsltproc, libxml2-utils, w3m, fop +Build-Depends-Indep: docbook-xsl-ns <!nodoc>, docbook5-xml <!nodoc>, fop <!nodoc>, libxml2-utils <!nodoc>, w3m <!nodoc>, xsltproc <!nodoc> Build-Conflicts: libdb4.2-dev, libxcrypt-dev Vcs-Browser: https://salsa.debian.org/vorlon/pam Vcs-Git: https://salsa.debian.org/vorlon/pam.git diff --git a/debian/libpam-runtime.links b/debian/libpam-runtime.links index 9afa90fd..e26648b0 100644..100755 --- a/debian/libpam-runtime.links +++ b/debian/libpam-runtime.links @@ -1 +1,2 @@ -usr/share/man/man7/PAM.7.gz usr/share/man/man7/pam.7.gz +#!/usr/bin/dh-exec +usr/share/man/man7/PAM.7.gz usr/share/man/man7/pam.7.gz <!nodoc> diff --git a/debian/rules b/debian/rules index f63788a9..e34d3f5f 100755 --- a/debian/rules +++ b/debian/rules @@ -25,17 +25,19 @@ dl = $(d)/local ifneq (,$(filter stage1,$(DEB_BUILD_PROFILES))) meson_OPTS += -Daudit=disabled -Dlogind=disabled endif -packages := $(shell dh_listpackages) +packages := $(shell dh_listpackages) ifneq (,$(filter libpam-doc libpam-runtime,$(packages))) +ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES))) meson_OPTS += -Ddocs=enabled endif +endif override_dh_auto_configure: # Explicitly set libdir, sbindir to avoid upstream's override logic. dh_auto_configure -- \ ---default-library=both \ + --default-library=both \ --libdir=/usr/lib/$(DEB_HOST_MULTIARCH) \ --sbindir=/usr/sbin \ -Disadir=/usr/lib/security \ |