debian/0000755000000000000000000000000012360023715007165 5ustar debian/README.example0000644000000000000000000000050412360020643011473 0ustar #!/bin/sh -v # commands to try the C++ example: gengetopt -isample1.ggo -Fcmdline1 --long-help -u c++ -o main1 main1.cc cmdline1.c ./main1 --help # commands to try the C example: gengetopt --input=sample2.ggo --func-name=my_cmdline_parser --file-name=cmdline2 --unamed-opts gcc -o main2 main2.c cmdline2.c ./main2 -h debian/tests0000644000000000000000000000271212360020643010251 0ustar #!/bin/sh # # This is a simple script that tests gengetopt # # install as: /usr/lib/debian-test/tests/gengetopt # or else as: /usr/lib/debian-test/tests/gengetopt/test-1 # In the latter case, /usr/lib/debian-test/tests/gengetopt/ can contain # other file with test data and/or other scripts named test-2, test-3, etc. # # You can run this script with the command # sh debian/tests # After installation, you can run it with the commands # /usr/lib/debian-test/tests/gengetopt # or # debian-test -v gengetopt # see debian-test(1) . ${DEBIANTEST_LIB:-/usr/lib/debian-test/lib}/functions.sh if [ -f my-data-file ]; then TESTDIR=`pwd`; else TESTDIR=/usr/lib/debian-test/tests/gengetopt; fi ## we need a scratch directory in which to execute TMP=/tmp/gengetopt-test.$$ test -e $TMP && rm -rf $TMP mkdir $TMP cd $TMP trap "rm -rf $TMP" EXIT test1(){ RESULT=0 cp /usr/share/doc/gengetopt/examples/* . gengetopt -isample1.ggo -Fcmdline1 --long-help -u c++ -o main1 main1.cc cmdline1.c if ./main1 --help |grep -q "Another integer option"; then true; else RESULT=1; fi return $RESULT } test2(){ RESULT=0 gengetopt --input=sample2.ggo --func-name=my_cmdline_parser --file-name=cmdline2 --unamed-opts gcc -o main2 main2.c cmdline2.c if ./main2 -h |grep -q "long double option"; then true; else RESULT=1; fi return $RESULT } runtest "C++ test case" test1 runtest "C test case" test2 debian/docs0000644000000000000000000000001412360020643010030 0ustar NEWS THANKS debian/watch0000644000000000000000000000055512360021225010215 0ustar version=3 opts="uversionmangle=s/(\d)[\-_]?(rc\d+|pre-rc\d+|pre\d+a?)$/$1~$2/;s/[\-\.](source|Source|src|orig|unix)$//;s/-(bin|osx)$/~$1/;s/^v(\d)/$1/;" \ http://ftp.gnu.org/gnu/gengetopt/ .*gengetopt-(v?[\d\.]+(?:rc|rc\d+|pre-rc\d+|-unix|-source|-Source|-src|\.src|\.orig|[a-z]|b\d+|beta\d+-src|beta\d+)?)\.(?:tar\.gz|tgz|tar\.bz2|zip|pm\.gz|jar|shar\.gz|shar\.Z) debian/copyright0000644000000000000000000000264712360020643011126 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: GNU Gengetopt Upstream-Contact: Lorenzo Bettini Source: ftp://ftp.gnu.org/gnu/gengetopt/ Files: * Copyright: 1999 Roberto Arturo Tena Sanchez 1984-2009 Free Software Foundation, Inc. 1999-2009, Lorenzo Bettini License: GPL-3+ Files: debian/* Copyright: 2010-2012 Alessio Treglia 2006-2009, Bart Martens 2005, Frank Lichtenheld 2001-2003, Luca Filipozzi 1999-2001, James R. Van Zandt License: GPL-3+ License: GPL-3+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the complete text of the GNU General Public License version 3 can be found in `/usr/share/common-licenses/GPL-3'. debian/repack.sh0000755000000000000000000000705512360020762010777 0ustar #!/bin/sh # see the repack.stub for how to use # TODO: provide example watch files and repack.locals # TODO: test suite. problems fixed that need to be tested: # * globbing # * whitespace and then comments in the MANIFEST # TODO: does / in weird places work? test suite too. # TODO: I actually broke stuff with the MANIFEST change not thinking.. # TODO: allow for a sepearate (and multiple) MANIFEST files, then # de-uglify libsyntax-highlight-engine-kate-perl. # TODO: have each mv and rm check that something actually changed, and # if not, die set -e set -u usage() { echo "Usage: repack.sh --upstream-version " exit 1 } if [ "$#" != "3" ]; then usage fi if [ "$1" != "--upstream-version" ]; then usage fi if [ ! -f "$3" ]; then if [ -n "$3" ]; then echo "$3 doesn't exist" fi usage fi VER="$2" FILE="$3" PKG=`dpkg-parsechangelog|grep ^Source:|sed 's/^Source: //'` SUFFIX="+dfsg" echo echo "Repackaging $FILE" echo DIR=`mktemp -d ./tmpRepackXXXXXX` DIR=$(readlink -f "$DIR") trap "/bin/rm -rf \"$DIR\"" QUIT INT EXIT # Create an extra directory to cope with rootless tarballs UP_BASE="$DIR/unpack" mkdir "$UP_BASE" tar xf "$FILE" -C "$UP_BASE" || unzip "$FILE" -d "$UP_BASE" if [ `ls -1 "$UP_BASE" | wc -l` -eq 1 ]; then # Tarball does contain a root directory UP_BASE="$UP_BASE/`ls -1 "$UP_BASE"`" fi RM_OPTS="-vrf" real_rm(){ /bin/rm "$@" } real_mv(){ /bin/mv "$@" } rm(){ set +f MYOLDPWD=$(pwd) cd "$UP_BASE" if [ "$MANIFEST" = "1" ]; then PERM=$(stat --format=%a "MANIFEST") chmod u+w "MANIFEST" fi for i in $@; do if [ "$MANIFEST" = "1" ]; then PATTERN="^$i" if [ -d "$i" ]; then if ! { echo "$PATTERN" | grep -q "/$" ; }; then PATTERN="${PATTERN}/" fi else PATTERN="${PATTERN}\s?" fi grep -Ev "$PATTERN" "MANIFEST" > "$DIR/MANIFEST" real_mv "$DIR/MANIFEST" "MANIFEST" fi real_rm "$RM_OPTS" "$i" done if [ "$MANIFEST" = "1" ]; then chmod $PERM "MANIFEST" fi cd $MYOLDPWD set -f } mv(){ set +f OLD=$(pwd) cd $UP_BASE real_mv "$@" cd $OLD if [ "$MANIFEST" = "1" ]; then echo "MANIFEST cannot be manipulated with mv yet, patches welcome" exit 1 fi set -f } # bump with incompatible changes REPACK_VERSION=3 requires_version(){ if [ $REPACK_VERSION -lt $1 ]; then echo "repack.sh is not up to date enough for this package. you need at least version $1, while this script is only version $REPACK_VERSION" exit 1 fi } MANIFEST=0 ## Remove stuff set -f MYORIGPWD=$(pwd) cd "$UP_BASE" . "$MYORIGPWD/debian/repack.local" cd $MYORIGPWD set +f ## End REPACK_DIR="$PKG-${VER}${SUFFIX}.orig" # DevRef ยง 6.7.8.2 DFSG_TAR="$(dirname $FILE)/${PKG}_${VER}${SUFFIX}.orig.tar" real_mv "$UP_BASE" "$DIR/$REPACK_DIR" # .gz or .bz2? FILETYPE=$(file --brief --mime-type --dereference "$FILE") case "$FILETYPE" in application/x-gzip|application/zip|application/gzip) C_PROGRAM="gzip" C_SUFFIX="gz" ;; application/x-bzip2) C_PROGRAM="bzip2" C_SUFFIX="bz2" ;; *) echo "E: Unknown filetye $FILETYPE" exit 1 ;; esac # Using a pipe hides tar errors! tar cfC "$DIR/repacked.tar" "$DIR" "$REPACK_DIR" $C_PROGRAM -9 < "$DIR/repacked.tar" > "$DIR/repacked.tar.$C_SUFFIX" real_mv "$DIR/repacked.tar.$C_SUFFIX" "$DFSG_TAR.$C_SUFFIX" echo "*** $DFSG_TAR.$C_SUFFIX ready" debian/gengetopt.examples0000644000000000000000000000002612360020643012714 0ustar debian/README.example debian/changelog0000644000000000000000000002351312360023050011033 0ustar gengetopt (2.22.6+dfsg0-1) unstable; urgency=medium * Repackaging to get rid of DFSG incompatible docs. (Closes: #708880) * debian/patches/9001-dfsg.patch: - Don't build docs until upstream clarifies licensing. * Do not provide doc-base file as docs have been stripped out. * Bump Standards. -- Alessio Treglia Fri, 11 Jul 2014 18:57:18 +0100 gengetopt (2.22.6-2) unstable; urgency=low * Upload to unstable. * Fix VCS URLs. * Bump Standards. -- Alessio Treglia Thu, 09 May 2013 12:48:17 +0200 gengetopt (2.22.6-1) experimental; urgency=low * New upstream release. * Switch from autotools-dev to dh-autoreconf. * Refresh patches. * Bump debhelper requirements to automatically enable hardening. * Update debian/copyright. * Bump Standards. -- Alessio Treglia Thu, 15 Nov 2012 01:31:28 +0000 gengetopt (2.22.5-1) unstable; urgency=low * New upstream release: - correctly wraps and preprocess the specified usage string - handle escaped newline chars in the .ggo file correctly - initialize enum variables with a generated null value (makes the parser compilable in C++) - removed warnings in generated parser when only flags are used * Fix gbp config file. * Bump Standards. * Drop unneeded dependency on dpkg (>= 1.15.4), stable has a newer version. * Refresh patches. -- Alessio Treglia Mon, 26 Sep 2011 10:27:31 +0200 gengetopt (2.22.4-3) unstable; urgency=low * Change my email address. * Bump Standards. * Add gbp config file. * Add .gitignore file. * Switch to debhelper 7 + autotools_dev add-on. * Drop CDBS. * Update debian/docs file. -- Alessio Treglia Thu, 15 Jul 2010 19:23:36 +0200 gengetopt (2.22.4-2) unstable; urgency=low * New maintainer (Closes: #544449). * Set DM-Upload-Allowed to yes. * Update debian/copyright. * Move packaging to collab-maint's git area. -- Alessio Treglia Sun, 25 Apr 2010 11:55:37 +0200 gengetopt (2.22.4-1) unstable; urgency=low * QA upload * New upstream release * debian/control: - Bump debhelper build dependency to 7 - Add Depends on dpkg (>= 1.15.4) | install-info - Update Standards-Version to 3.8.4 (No changes needed) * debian/compat: Bumped to 7 * debian/dirs: Removed * debian/patch/03repack.diff: Removed * debian/gengetopt.doc-base: Added * debian/copyright: Do not mention that the tarball was repackaged * debian/rules: - Remove /usr/share/info/dir and /usr/share/doc/gengetopt/ChangeLog * Switch to 3.0 (quilt) source format - Do not include simple-patchsys.mk in debian/rules * Update 01man.patch to follow DEP3 -- Vincent Legout Mon, 19 Apr 2010 12:18:14 +0800 gengetopt (2.22.2-1) unstable; urgency=low * QA upload, orphaning this package. * New upstream release. * Repackaged upstream tarball, and related to that: + removed texinfo from Build-Depends in debian/control, + mentioned repackaged tarball in debian/copyright, + removed debian/info, + removed debian/patches/02info.diff, + and added debian/patches/03repack.diff. * debian/copyright: Updated. * debian/watch: Updated. -- Bart Martens Wed, 17 Jun 2009 12:40:58 +0200 gengetopt (2.22.1-1) unstable; urgency=low * New upstream release. * debian/copyright: Updated. * debian/patches/02info.diff: Updated. * debian/patches/03gcc43.diff: Removed. -- Bart Martens Wed, 07 May 2008 21:14:14 +0200 gengetopt (2.22-2) unstable; urgency=low * debian/patches/03gcc43.diff: Added. Closes: #441530. -- Bart Martens Sat, 02 Feb 2008 12:32:08 +0100 gengetopt (2.22-1) unstable; urgency=low * New upstream release. -- Bart Martens Tue, 22 Jan 2008 18:29:08 +0100 gengetopt (2.21-1) unstable; urgency=low * New upstream release. -- Bart Martens Mon, 06 Aug 2007 20:35:43 +0200 gengetopt (2.20-1) unstable; urgency=low * New upstream release. * debian/copyright: Updated. * debian/patches/01man.diff: Edited. * debian/patches/02info.diff: Edited. * debian/rules: Added "SAVERESTORE". -- Bart Martens Sun, 15 Jul 2007 09:19:11 +0200 gengetopt (2.19.1-1) unstable; urgency=low * New upstream release. * debian/patches/*: Updated for new upstream release. -- Bart Martens Sat, 24 Mar 2007 20:05:19 +0100 gengetopt (2.18-1) unstable; urgency=low * New upstream release. * debian/control: Replaced flex-old by flex. * debian/control, debian/rules: Switched to cdbs. * debian/control: Depends on texinfo. * debian/patches/01man.diff: Added. * debian/patches/02info.diff: Added. -- Bart Martens Tue, 26 Sep 2006 07:38:43 +0200 gengetopt (2.17-1) unstable; urgency=low * New maintainer. Closes: #266484. * New upstream release. Closes: #287658. * debian/*: Repackaged with dh-make 0.41. * debian/copyright: Updated. * debian/watch: Updated. -- Bart Martens Tue, 8 Aug 2006 23:45:42 +0200 gengetopt (2.10-2) unstable; urgency=low * QA Upload * Change maintainer to QA Group * Recompile for CXX transition * Remove unneccessary build-dependency on libstdc++-dev (Closes: #268595) * Update config.sub/config.guess to fix FTBFS on GNU/k*BSD (Closes: #326523) * Update FSF address in copyright file -- Frank Lichtenheld Fri, 28 Oct 2005 20:52:03 +0200 gengetopt (2.10-1) unstable; urgency=low * New upstream release -- Luca Filipozzi Thu, 12 Jun 2003 20:36:03 -0700 gengetopt (2.9-1) unstable; urgency=low * New upstream release -- Luca Filipozzi Fri, 18 Apr 2003 12:25:11 -0700 gengetopt (2.8.1-1) unstable; urgency=low * New upstream release -- Luca Filipozzi Sat, 5 Apr 2003 19:49:36 -0800 gengetopt (2.8-1) unstable; urgency=low * New upstream release -- Luca Filipozzi Mon, 30 Dec 2002 15:58:58 -0800 gengetopt (2.7.1-1) unstable; urgency=low * New upstream release -- Luca Filipozzi Sat, 3 Aug 2002 10:29:37 -0700 gengetopt (2.7-2) unstable; urgency=low * added builddep on libstdc++-dev * to fix an FTBFS on hppa: (Closes: #152823) - added HAVE_NAMESPACES=1 to config.h.in to fix an FTBFS - removed dependency on my_sstream.h and src/includes/sstream from several files; why upstream ships their own sstream... -- Luca Filipozzi Mon, 15 Jul 2002 04:26:06 -0700 gengetopt (2.7-1) unstable; urgency=low * New upstream release -- Luca Filipozzi Fri, 12 Jul 2002 22:40:10 -0700 gengetopt (2.6-2) unstable; urgency=low * debian/watch: updated to uscan version 2 format -- Luca Filipozzi Sat, 13 Apr 2002 15:32:52 -0700 gengetopt (2.6-1) unstable; urgency=low * New upstream release -- Luca Filipozzi Sat, 23 Mar 2002 19:22:32 -0800 gengetopt (2.5-1) unstable; urgency=low * New upstream release * minor fix to manpage (Closes: Bug#121571) * minor change to src/gm.c to avoid using generating header protection ifdef's that start with an underscore (Closes: Bug#121575) -- Luca Filipozzi Wed, 19 Dec 2001 13:07:22 -0800 gengetopt (2.4-1) unstable; urgency=low * New maintainer * New upstream release * Completely reworked the debian/* files * No longer installs /usr/lib/debian-test/tests/gengetopt -- Luca Filipozzi Wed, 29 Aug 2001 08:06:09 -0700 gengetopt (2.3-1) unstable; urgency=low * New upstream release -- James R. Van Zandt Sat, 12 May 2001 09:52:49 -0400 gengetopt (2.2-4) unstable; urgency=low * debian/watch: support uscan -- James R. Van Zandt Sat, 12 May 2001 09:35:54 -0400 gengetopt (2.2-3) unstable; urgency=low * debian/control: build-depends on flex (Closes:Bug#95958) -- James R. Van Zandt Fri, 11 May 2001 21:22:37 -0400 gengetopt (2.2-2) unstable; urgency=low * debian/control: move build-depends line to source section. Upgrade policy to 3.5.2. * debian/rules: honor DEB_BUILD_OPTIONS. Keep Makefile and several other intermediate files out of .diff file. * debian/tests: support debian-test -- James R. Van Zandt Fri, 27 Apr 2001 21:00:53 -0400 gengetopt (2.2-1) unstable; urgency=low * New upstream release -- James R. Van Zandt Fri, 19 Jan 2001 20:22:48 -0500 gengetopt (2.1-1) unstable; urgency=low * New upstream release -- James R. Van Zandt Tue, 26 Sep 2000 21:25:16 -0400 gengetopt (2.0-1) unstable; urgency=low * New upstream release * Build-Depends on debhelper * copyright: Updated license. Removed reference to old GPL location. * Moved examples to /usr/share/doc/gengetopt/examples * src/gm.c: Add cast, to eliminate error message when generated code is compiled as C++. -- James R. Van Zandt Sat, 2 Sep 2000 13:34:37 -0400 gengetopt (1.1.1-3) unstable; urgency=low * Install /usr/doc/gengetopt symlink. -- James R. Van Zandt Wed, 15 Sep 1999 17:14:55 -0400 gengetopt (1.1.1-2) unstable; urgency=low * Link against glibc2.1 * Update to FHS * Update reference to GPL in copyright file -- James R. Van Zandt Mon, 6 Sep 1999 20:21:08 -0400 gengetopt (1.1.1-1) unstable; urgency=low * New upstream release. License clarified: GPL. -- James R. Van Zandt Tue, 17 Aug 1999 20:21:29 -0400 gengetopt (1.1.0-1) unstable; urgency=low * Initial Release. Includes man page written for Debian. -- James R. Van Zandt Sun, 20 Jun 1999 10:15:03 -0400 Local variables: mode: debian-changelog End: debian/README.Debian0000644000000000000000000000555112360020643011231 0ustar gengetopt for Debian ---------------------- Here is a feature comparison of six command line parser generators. package clig genparse gaa autogen gengetopt wyg [1] [2] [3] [4] [5] [6] runs per project [7] many many many many once many input file file file file file file C language app yes yes yes yes yes yes shell script app no no no yes no no package result parser parser parser parser main.c parser config file input no no yes yes no yes environment input no no no yes no no config file output no no no yes no no command line yes yes yes yes yes yes short options [8] yes yes yes yes yes combined short options no yes yes yes yes yes long options [8] yes yes yes yes yes parameter types 4 5 5 any 11 4 callback functions no yes yes yes yes no multiple parameters yes no no yes no no optional parameters yes no no yes no no default values yes yes yes yes no yes range checks yes yes no no no no option data struct struct struct struct variables struct usage() yes yes yes yes yes yes man page yes no no no no no makefile no no no no no no developer dependencies tcl none none none none bison,flex user dependencies none none none [9] none none [1] clig is the only tool that generates a skeleton man page. It also updates a previously generated man page. [2,3] genparse and gaa have very similar capabilities. genparse supports range checks, and gaa supports option input from a configuration file as well as the command line. NOTE HOWEVER: gaa is not maintained upstream. [4] autogen has many capabilities, but here we concentrate on the portion called AutoOpts. AutoOpts is the most general of these programs, and has the most extensive documentation. It is the only one that supports shell scripts as well as C programs. It also supports input from a configuration file or the environment. [5] gengetopt is the only one that generates a skeleton main.c instead of a separate parsing function. [6] wyg uses flex and bison to generate a configuration file parser, but uses getopt_long to parse the command line options. [7] A program run "once" produces files which the user is expected to edit. If it's run again, the user would lose his edits. A program supporting "many" runs, the user is not expected to edit the result. Thus, to change the interface (to add an option, for example), the user could edit the description file and re-run the parser generator. [8] xlig supports either a short or long name for a given option, but not both, and in either case it is introduced by a single dash. [9] There is a user-visible dependency iff the developer does a dynamic link to the libopts.so library. Developers are free to either link statically or ship libopts.so with their product. A Debian package would need only a dependency on the package supplying libopts (libopts2, at present). . -- James R. Van Zandt , Sun, 20 Jun 1999 10:15:03 -0400 debian/control0000644000000000000000000000132512360023014010561 0ustar Source: gengetopt Section: devel Priority: optional Maintainer: Alessio Treglia Build-Depends: debhelper (>= 9~), dh-autoreconf, flex Standards-Version: 3.9.5 Homepage: http://www.gnu.org/software/gengetopt/ Vcs-Git: git://anonscm.debian.org/collab-maint/gengetopt.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/gengetopt.git Package: gengetopt Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Description: skeleton main.c generator gengetopt reads an interface description file, and writes a skeleton main.c file. gengetopt supports: long and short options, 11 types of parameters (including flag, int, double, string, and function call), and a usage message. debian/repack.stub0000644000000000000000000000325112360020762011331 0ustar #!/bin/sh : <<=cut =pod =head1 NAME repack.stub - script to repack upstream tarballs from uscan =head1 INSTRUCTIONS put this in debian/repack.stub and add "debian sh debian/repack.stub" to the end of the line in debian/watch. you will also need to add a version mangle to debian/watch. then create a debian/repack.local. this is a shell script that is sources under "set -e", so be careful to check returns codes. =head1 FUNCTIONS =over 4 =item rm rm is replaced by a function that does some magic ("rm -rv" by default), but also changes MANIFEST if $MANIFEST is 1 =item mv mv is replaced by a function that just does mv (by default), but also changes MANIFEST if $MANIFEST is 1 =item requires_version requires_version is there for future usage for requiring certain versions of the script =back =head1 VARIABLES =over 4 =item SUFFIX defaults to +dfsg what to append to the upstream version =item RM_OPTS defaults to -vrf options to pass to rm =item MANIFEST defaults to 0, set to 1 to turn on. this will manipulate MANIFEST files in CPAN tarballs. =item UP_BASE this is the directory where the upstream source is. =back =cut if [ -z "$REPACK_SH" ]; then if [ -f ../../scripts/repack.sh ]; then REPACK_SH=../../scripts/repack.sh fi if [ -z "$REPACK_SH" ] && which repack.sh > /dev/null; then REPACK_SH=$(which repack.sh) fi fi if [ ! -f "$REPACK_SH" ]; then echo "Couldn't find a repack.sh. please put it in your PATH, put it at ../../scripts/repack.sh, or put it somewhere else and set the REPACK_SH variable" echo "You can get it from http://svn.debian.org/viewsvn/pkg-perl/scripts/repack.sh" exit 1 fi exec "$REPACK_SH" "$@" debian/compat0000644000000000000000000000000212360020643010360 0ustar 9 debian/rules0000755000000000000000000000251012360021015010232 0ustar #!/usr/bin/make -f export REPACK_SH=$(CURDIR)/debian/repack.sh %: dh $@ --with autoreconf SAVERESTORE := \ doc/cmdline1.c \ doc/cmdline1.h \ doc/cmdline1.h.texinfo \ doc/cmdline2.c \ doc/cmdline2.h \ doc/gengetopt.html \ doc/help_output.texinfo \ doc/main1.cc.texinfo \ doc/multiple_example.c.texinfo \ doc/sample1.ggo.texinfo \ doc/sample1.output.texinfo \ doc/samples.stamp \ doc/test_conf_parser.c.texinfo \ doc/test_conf_parser_ov2.c.texinfo \ doc/test_multiple_parsers.c.texinfo \ tests/test_conf_parser_ov2.c \ tests/test_conf_parser_ov3.c \ doc/help_modes.output.texinfo \ doc/sample1_2.output.texinfo \ doc/test_modes_cmd.ggo.texinfo \ tests/test_conf_parser_ov4.c \ tests/test_manual_help_cmd.c \ tests/test_manual_help_cmd.h \ override_dh_auto_clean: dh_auto_clean for f in $(SAVERESTORE) ; do [ ! -e $$f.d-r-orig ] || mv $$f.d-r-orig $$f ; done override_dh_auto_install: dh_auto_install rm -f debian/gengetopt/usr/share/doc/gengetopt/AUTHORS rm -f debian/gengetopt/usr/share/doc/gengetopt/COPYING rm -f debian/gengetopt/usr/share/doc/gengetopt/INSTALL rm -f debian/gengetopt/usr/share/doc/gengetopt/LICENSE rm -f debian/gengetopt/usr/share/doc/gengetopt/THANKS rm -f debian/gengetopt/usr/share/doc/gengetopt/ChangeLog rm -f debian/gengetopt/usr/share/info/dir get-orig-source: uscan --force-download debian/repack.local0000644000000000000000000000012712360021321011435 0ustar SUFFIX=+dfsg0 rm doc/gengetopt.html \ doc/gengetopt.texinfo \ doc/gengetopt.info debian/source/0000755000000000000000000000000012360020643010462 5ustar debian/source/format0000644000000000000000000000001412360020643011670 0ustar 3.0 (quilt) debian/gbp.conf0000644000000000000000000000005712360020643010603 0ustar [DEFAULT] pristine-tar = True sign-tags = True debian/patches/0000755000000000000000000000000012360022050010603 5ustar debian/patches/01man.patch0000644000000000000000000000103112360020643012541 0ustar Description: Update manpage NAME section Author: Bart Martens Forwarded: no --- doc/gengetopt.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- gengetopt.orig/doc/gengetopt.1 +++ gengetopt/doc/gengetopt.1 @@ -1,7 +1,7 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.40.11. .TH GENGETOPT "1" "November 2012" "gengetopt 2.22.6" "User Commands" .SH NAME -gengetopt \- manual page for gengetopt 2.22.6 +gengetopt \- skeleton main.c generator .SH SYNOPSIS .B gengetopt [\fIOPTIONS\fR]... debian/patches/series0000644000000000000000000000003412360021724012024 0ustar 01man.patch 9001-dfsg.patch debian/patches/9001-dfsg.patch0000644000000000000000000000174112360022373013151 0ustar Description: Get rid of DFSG incompatible doc files. Author: Alessio Treglia Forwarded: no Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=708880 --- Makefile.am | 4 ++-- configure.ac | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) --- gengetopt.orig/Makefile.am +++ gengetopt/Makefile.am @@ -18,6 +18,6 @@ ACLOCAL_AMFLAGS = -I m4 -I gl/m4 EXTRA_DIST = configure TODO LICENSE gl/m4/gnulib-cache.m4 -SUBDIRS = gl src doc tests +SUBDIRS = gl src tests -gengetoptdoc_DATA = ChangeLog COPYING NEWS THANKS INSTALL README LICENSE \ No newline at end of file +gengetoptdoc_DATA = ChangeLog COPYING NEWS THANKS INSTALL README LICENSE --- gengetopt.orig/configure.ac +++ gengetopt/configure.ac @@ -154,7 +154,6 @@ AC_CONFIG_FILES([Makefile src/Makefile src/skels/Makefile src/tests/Makefile - doc/Makefile gl/Makefile tests/Makefile tests/output_dir/Makefile