diff options
author | gregor herrmann <gregoa@debian.org> | 2024-03-04 11:34:32 +0100 |
---|---|---|
committer | gregor herrmann <gregoa@debian.org> | 2024-03-04 11:44:16 +0100 |
commit | d184f81486733cf19178fb65a1a6b0c4d4a6ba53 (patch) | |
tree | 860efd4bcfdf4d01d57ace70a86beb44e356da9a | |
parent | 7cb4d1a3651b7843d6d49968689a9e9fabe53213 (diff) |
examples/buildpackage-pdebuild: add support for 'nodoc'.
-rw-r--r-- | debian/copyright | 2 | ||||
-rwxr-xr-x | examples/buildpackage-pdebuild | 9 |
2 files changed, 8 insertions, 3 deletions
diff --git a/debian/copyright b/debian/copyright index 3aab891..e642066 100644 --- a/debian/copyright +++ b/debian/copyright @@ -55,7 +55,7 @@ Copyright: 2009, gregor herrmann <gregoa@debian.org> License: GPL-2+ Files: examples/buildpackage-pdebuild -Copyright: 2010-2022, gregor herrmann <gregoa@debian.org> +Copyright: 2010-2024, gregor herrmann <gregoa@debian.org> 2011-2012, Salvatore Bonaccorso <carnil@debian.org> License: Artistic or GPL-1+ diff --git a/examples/buildpackage-pdebuild b/examples/buildpackage-pdebuild index fb07926..2b909eb 100755 --- a/examples/buildpackage-pdebuild +++ b/examples/buildpackage-pdebuild @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2010-2022, gregor herrmann <gregoa@debian.org> +# Copyright 2010-2024, gregor herrmann <gregoa@debian.org> # Copyright 2011-2012, Salvatore Bonaccorso <carnil@debian.org> # # This program is free software; you can redistribute it and/or modify it @@ -43,13 +43,14 @@ ME="$(basename $0)" # v = -vX # t = notest # n = noopt +# o = nodoc # p = nostrip # h = hardening # d = DH_VERBOSE # H = hookdir # A = host-Arch # c = -nc # enable by default? -while getopts D:bagScj:siwv:tnphdHA: O; do +while getopts D:bagScj:siwv:tnophdHA: O; do case "$O" in # pbuilder example #P) @@ -103,6 +104,10 @@ while getopts D:bagScj:siwv:tnphdHA: O; do DEB_BUILD_OPTIONS="$DEB_BUILD_OPTIONS nocheck" DEB_BUILD_PROFILES="$DEB_BUILD_PROFILES nocheck" ;; + o) + DEB_BUILD_OPTIONS="$DEB_BUILD_OPTIONS nodoc" + DEB_BUILD_PROFILES="$DEB_BUILD_PROFILES nodoc" + ;; n) DEB_BUILD_OPTIONS="$DEB_BUILD_OPTIONS noopt" ;; |