+debhelper (0.58) unstable; urgency=low
+
+ * Fixed bug #17597 - DH_VERBOSE wasn'talways taking effect.
+
+ -- Joey Hess <joeyh@master.debian.org> Wed, 28 Jan 1998 17:18:17 -0500
+
debhelper (0.57) unstable; urgency=low
* Depend on perl 5.004 or greater (for Getopt::Long).
dh_builddeb \- build debian packages
.SH SYNOPSIS
.B dh_builddeb
-.I "[-v] [-a] [-i] [-ppackage] [-Ptmpdir]"
+.I "[-v] [-a] [-i] [--no-act] [-ppackage] [-Ptmpdir]"
.SH "DESCRIPTION"
dh_builddeb simply calls
.BR dpkg (8)
.B \-i, \--indep
Build all architecture independent packages.
.TP
+.B \--no-act
+Do not really do anything. If used with -v, the result is that this command
+will output a list of what it would have done.
+.TP
.B -ppackage, \--package=package
Build the package named "package".
.TP
.TP
.I DH_VERBOSE
Enables verbose mode
+.TP
+.I DH_NO_ACT
+Enables no-act mode (see above).
.SH "SEE ALSO"
.BR /usr/doc/debhelper/README
.SH AUTHOR
dh_clean \- clean up package build directories
.SH SYNOPSIS
.B dh_clean
-.I "[-v] [-a] [-i] [-k] [-ppackage] [-Ptmpdir] [file ...]"
+.I "[-v] [-a] [-i] [-k] [--no-act] [-ppackage] [-Ptmpdir] [file ...]"
.SH "DESCRIPTION"
dh_clean is a debhelper program that is responsible for cleaning up after a
package is built. It removes the package build directories, and removes some
.B \-i, \--indep
Clean up the package build directory for all architecture independent packages.
.TP
+.B \--no-act
+Do not really do anything. If used with -v, the result is that this command
+will output a list of what it would have done.
+.TP
.B \-ppackage, \--package=package
Clean up the package build directory for the package named "package".
.TP
.TP
.I DH_VERBOSE
Enables verbose mode
+.TP
+.I DH_NO_ACT
+Enables no-act mode (see above).
.SH "SEE ALSO"
.BR /usr/doc/debhelper/README
.SH BUGS
dh_compress \- compress files and fix symlinks in package build directories
.SH SYNOPSIS
.B dh_compress
-.I "[-v] [-a] [-i] [-ppackage] [-Ptmpdir]"
+.I "[-v] [-a] [-i] [--no-act] [-ppackage] [-Ptmpdir]"
.SH "DESCRIPTION"
dh_compress is a debhelper program that is responsible for compressing
the files in package build directories, and makes sure that any symlinks
.B \-i, \--indep
Compress files for all architecture independent packages.
.TP
+.B \--no-act
+Do not really do anything. If used with -v, the result is that this command
+will output a list of what it would have done.
+.TP
.B \-ppackage, \--package=package
Compress files for the package named "package".
.TP
.TP
.I DH_VERBOSE
Enables verbose mode
+.TP
+.I DH_NO_ACT
+Enables no-act mode (see above).
.SH "SEE ALSO"
.BR /usr/doc/debhelper/README
.SH BUGS
dh_du \- generate DEBIAN/du file
.SH SYNOPSIS
.B dh_du
-.I "[-v] [-a] [-i] [-ppackage] [-Ptmpdir]"
+.I "[-v] [-a] [-i] [--no-act] [-ppackage] [-Ptmpdir]"
.SH "DESCRIPTION"
dh_du is a debhelper program that is responsible for generating
a DEBIAN/du file, which lists the disk usage of directories in the package.
.B \-i, \--indep
Generate du files for all architecture independent packages.
.TP
+.B \--no-act
+Do not really do anything. If used with -v, the result is that this command
+will output a list of what it would have done.
+.TP
.B \-ppackage, \--package=package
Generate du file for the package named "package".
.TP
.TP
.I DH_VERBOSE
Enables verbose mode
+.TP
+.I DH_NO_ACT
+Enables no-act mode (see above).
.SH "SEE ALSO"
.BR /usr/doc/debhelper/README
.SH AUTHOR
dh_fixperms \- fix permissions of files in package build directories
.SH SYNOPSIS
.B dh_fixperms
-.I "[-v] [-a] [-i] [-ppackage] [-Ptmpdir]"
+.I "[-v] [-a] [-i] [--no-act] [-ppackage] [-Ptmpdir]"
.SH "DESCRIPTION"
dh_fixperms is a debhelper program that is responsible for setting the
permissions of files in package build directories to a sane state.
.B \-i, \--indep
Fix permissions for all architecture independent packages.
.TP
+.B \--no-act
+Do not really do anything. If used with -v, the result is that this command
+will output a list of what it would have done.
+.TP
.B \-ppackage, \--package=package
Fix permissions for the package named "package".
.TP
.TP
.I DH_VERBOSE
Enables verbose mode
+.TP
+.I DH_NO_ACT
+Enables no-act mode (see above).
.SH "SEE ALSO"
.BR /usr/doc/debhelper/README
.SH "CONFORMS TO"
dh_gencontrol \- generate and install control file
.SH SYNOPSIS
.B dh_gencontrol
-.I "[-v] [-a] [-i] [-ppackage] [-Ptmpdir] [-uparams]"
+.I "[-v] [-a] [-i] [--no-act] [-ppackage] [-Ptmpdir] [-uparams]"
.SH "DESCRIPTION"
dh_gencontrol is a debhelper program that is responsible for generating and
installing control files, and installing them into the DEBIAN directory with
.B \-i, \--indep
Install files for all architecture independent packages.
.TP
+.B \--no-act
+Do not really do anything. If used with -v, the result is that this command
+will output a list of what it would have done.
+.TP
.B \-ppackage, \--package=package
Install files for the package named "package".
.TP
.TP
.I DH_VERBOSE
Enables verbose mode
+.TP
+.I DH_NO_ACT
+Enables no-act mode (see above).
.SH "SEE ALSO"
.BR /usr/doc/debhelper/README
.BR dpkg-shlibdeps (1)
"A" => \$all,
"all" => \$all,
+
+ "no-act" => \$no_act,
);
# Check to see if -V was specified. If so, but no parameters were passed,
$verbose=1;
}
+# Check to see if DH_NO_ACT was set, if so, make sure no act mode is on.
+if ($ENV{DH_NO_ACT} ne undef) {
+ $no_act=1;
+}
+
# Now output everything, in a format suitable for a shell to eval it.
# Note the last line sets $@ in the shell to whatever arguements remain.
print qq{
DH_VERBOSE='$verbose'
+DH_NO_ACT='$no_act'
DH_DOPACKAGES='@packages'
DH_DOINDEP='$indep'
DH_DOARCH='$arch'
dh_installchangelogs \- install changelogs into package build directories
.SH SYNOPSIS
.B dh_installchangelogs
-.I "[-v] [-a] [-i] [-ppackage] [-Ptmpdir] [upstream]"
+.I "[-v] [-a] [-i] [--no-act] [-ppackage] [-Ptmpdir] [upstream]"
.SH "DESCRIPTION"
dh_installchangelogs is a debhelper program that is responsible for installing
changelogs into package build directories.
.B \-i, \--indep
Install changelogs for all architecture independent packages.
.TP
+.B \--no-act
+Do not really do anything. If used with -v, the result is that this command
+will output a list of what it would have done.
+.TP
.B \-ppackage, \--package=package
Install changelogs for the package named "package".
.TP
.TP
.I DH_VERBOSE
Enables verbose mode
+.TP
+.I DH_NO_ACT
+Enables no-act mode (see above).
.SH "SEE ALSO"
.BR /usr/doc/debhelper/README
.SH "CONFORMS TO"
dh_installcron \- install cron scripts into etc/cron.*
.SH SYNOPSIS
.B dh_installcron
-.I "[-v] [-a] [-i] [-ppackage] [-Ptmpdir]"
+.I "[-v] [-a] [-i] [--no-act] [-ppackage] [-Ptmpdir]"
.SH "DESCRIPTION"
dh_installcron is a debhelper program that is responsible for installing
cron scripts into etc/cron.* in package build directories. The files
.B \-i, \--indep
Install cron files for all architecture independent packages.
.TP
+.B \--no-act
+Do not really do anything. If used with -v, the result is that this command
+will output a list of what it would have done.
+.TP
.B \-ppackage, \--package=package
Install cron files for the package named "package".
.TP
.TP
.I DH_VERBOSE
Enables verbose mode
+.TP
+.I DH_NO_ACT
+Enables no-act mode (see above).
.SH "SEE ALSO"
.BR /usr/doc/debhelper/README
.SH "CONFORMS TO"
dh_installdeb \- install files into the DEBIAN directory
.SH SYNOPSIS
.B dh_installdeb
-.I "[-v] [-a] [-i] [-ppackage] [-Ptmpdir]"
+.I "[-v] [-a] [-i] [--no-act] [-ppackage] [-Ptmpdir]"
.SH "DESCRIPTION"
dh_installdeb is a debhelper program that is responsible for installing
files into the DEBIAN directory in package build directories with the
.B \-i, \--indep
Install files for all architecture independent packages.
.TP
+.B \--no-act
+Do not really do anything. If used with -v, the result is that this command
+will output a list of what it would have done.
+.TP
.B \-ppackage, \--package=package
Install files for the package named "package".
.TP
.TP
.I DH_VERBOSE
Enables verbose mode
+.TP
+.I DH_NO_ACT
+Enables no-act mode (see above).
.SH "SEE ALSO"
.BR /usr/doc/debhelper/README
.SH "CONFORMS TO"
dh_installdirs \- create subdirectories in package build directories
.SH SYNOPSIS
.B dh_installdirs
-.I "[-v] [-a] [-i] [-ppackage] [-Ptmpdir] [-A] [dir ...]"
+.I "[-v] [-a] [-i] [--no-act] [-ppackage] [-Ptmpdir] [-A] [dir ...]"
.SH "DESCRIPTION"
dh_installdirs is a debhelper program that is responsible for creating
subdirectories in package build directories.
.B \-i, \--indep
Create directories for all architecture independent packages.
.TP
+.B \--no-act
+Do not really do anything. If used with -v, the result is that this command
+will output a list of what it would have done.
+.TP
.B \-ppackage, \--package=package
Create directories for the package named "package".
.TP
.TP
.I DH_VERBOSE
Enables verbose mode
+.TP
+.I DH_NO_ACT
+Enables no-act mode (see above).
.SH "SEE ALSO"
.BR /usr/doc/debhelper/README
.SH BUGS
dh_installdocs \- install documentation into package build directories
.SH SYNOPSIS
.B dh_installdocs
-.I "[-v] [-a] [-i] [-ppackage] [-Ptmpdir] [-A] [file ...]"
+.I "[-v] [-a] [-i] [--no-act] [-ppackage] [-Ptmpdir] [-A] [file ...]"
.SH "DESCRIPTION"
dh_installdocs is a debhelper program that is responsible for installing
documentation into usr/doc/package in package build directories.
.B \-i, \--indep
Install files for all architecture independent packages.
.TP
+.B \--no-act
+Do not really do anything. If used with -v, the result is that this command
+will output a list of what it would have done.
+.TP
.B \-ppackage, \--package=package
Install files for the package named "package".
.TP
.TP
.I DH_VERBOSE
Enables verbose mode
+.TP
+.I DH_NO_ACT
+Enables no-act mode (see above).
.SH "SEE ALSO"
.BR /usr/doc/debhelper/README
.SH BUGS
dh_installexamples \- install example files into package build directories
.SH SYNOPSIS
.B dh_installexamples
-.I "[-v] [-a] [-i] [-ppackage] [-Ptmpdir] [-A] [file ...]"
+.I "[-v] [-a] [-i] [--no-act] [-ppackage] [-Ptmpdir] [-A] [file ...]"
.SH "DESCRIPTION"
dh_installexamples is a debhelper program that is responsible for installing
examples into usr/doc/package/examples in package build directories.
.B \-i, \--indep
Install files for all architecture independent packages.
.TP
+.B \--no-act
+Do not really do anything. If used with -v, the result is that this command
+will output a list of what it would have done.
+.TP
.B \-ppackage, \--package=package
Install files for the package named "package".
.TP
.TP
.I DH_VERBOSE
Enables verbose mode
+.TP
+.I DH_NO_ACT
+Enables no-act mode (see above).
.SH "SEE ALSO"
.BR /usr/doc/debhelper/README
.SH BUGS
dh_installmanpages \- install man pages into package build directories
.SH SYNOPSIS
.B dh_installmanpages
-.I "[-v] [-a] [-i] [-ppackage] [-Ptmpdir] [file ...]"
+.I "[-v] [-a] [-i] [--no-act] [-ppackage] [-Ptmpdir] [file ...]"
.SH "DESCRIPTION"
dh_installmanpages is a debhelper program that is responsible for
automatically installing man pages into usr/man/ and usr/X11R6/man/ in
.B \-i, \--indep
Install man pages into all architecture independent packages.
.TP
+.B \--no-act
+Do not really do anything. If used with -v, the result is that this command
+will output a list of what it would have done.
+.TP
.B \-ppackage, \--package=package
Install man pages into the package named "package".
.TP
.TP
.I DH_VERBOSE
Enables verbose mode
+.TP
+.I DH_NO_ACT
+Enables no-act mode (see above).
.SH "SEE ALSO"
.BR /usr/doc/debhelper/README
.SH BUGS
dh_installmenu \- install debian menu files into package build directories
.SH SYNOPSIS
.B dh_installmenu
-.I "[-v] [-a] [-i] [-ppackage] [-Ptmpdir] [-n]"
+.I "[-v] [-a] [-i] [--no-act] [-ppackage] [-Ptmpdir] [-n]"
.SH "DESCRIPTION"
dh_installmenu is a debhelper program that is responsible for installing
files used by the debian menu package into package build directories.
.B \-i, \--indep
Install menu files into all architecture independent packages.
.TP
+.B \--no-act
+Do not really do anything. If used with -v, the result is that this command
+will output a list of what it would have done.
+.TP
.B \-ppackage, \--package=package
Install menu files into the package named "package".
.TP
.TP
.I DH_VERBOSE
Enables verbose mode
+.TP
+.I DH_NO_ACT
+Enables no-act mode (see above).
.SH "SEE ALSO"
.BR /usr/doc/debhelper/README
,
# involving redirection. Use complex_doit instead.
doit() {
verbose_echo "$@"
- eval '$@'
+ if [ ! "$DH_NO_ACT" ]; then
+ eval '$@'
+ fi
}
# are evaled with double quotes. This version can handle compound commands.
complex_doit() {
verbose_echo "$@"
- eval "$@"
+ if [ ! "$DH_NO_ACT" ]; then
+ eval "$@"
+ fi
}
# Echo something if the verbose flag is on.
dh_makeshlibs \- automatically create shlibs file
.SH SYNOPSIS
.B dh_makeshlibs
-.I "[-v] [-a] [-i] [-mmajor] [-Ptmpdir] [-ppackage] [-mmajor] [-V[dependancies]]"
+.I "[-v] [-a] [-i] [--no-act] [-mmajor] [-Ptmpdir] [-ppackage] [-mmajor] [-V[dependancies]]"
.SH "DESCRIPTION"
dh_makeshlibs is a debhelper program that automatically scans for shared
libraries, and generates a shlibs file for the libraries it finds.
.B \-i, \--indep
Generate shlibs files for all architecture independent packages.
.TP
+.B \--no-act
+Do not really do anything. If used with -v, the result is that this command
+will output a list of what it would have done.
+.TP
.B \-ppackage, \--package=package
Generate shlibs file for the package named "package".
.TP
.TP
.I DH_VERBOSE
Enables verbose mode
+.TP
+.I DH_NO_ACT
+Enables no-act mode (see above).
.SH "SEE ALSO"
.BR /usr/doc/debhelper/README
.SH BUGS
dh_md5sums \- generate DEBIAN/md5sums file
.SH SYNOPSIS
.B dh_md5sums
-.I "[-x] [-v] [-a] [-i] [-Ptmpdir] [-ppackage]"
+.I "[-x] [-v] [-a] [-i] [--no-act] [-Ptmpdir] [-ppackage]"
.SH "DESCRIPTION"
dh_md5sums is a debhelper program that is responsible for generating
a DEBIAN/md5sums file, which lists the md5sums of each file in the package.
.B \-i, \--indep
Generate md5sums files for all architecture independent packages.
.TP
+.B \--no-act
+Do not really do anything. If used with -v, the result is that this command
+will output a list of what it would have done.
+.TP
.B \-ppackage, \--package=package
Generate md5sums file for the package named "package".
.TP
.TP
.I DH_VERBOSE
Enables verbose mode
+.TP
+.I DH_NO_ACT
+Enables no-act mode (see above).
.SH "SEE ALSO"
.BR /usr/doc/debhelper/README
.SH AUTHOR
dh_movefiles \- moves files out of debian/tmp into subpackages
.SH SYNOPSIS
.B dh_movefiles
-.I "[-v] [-a] [-i] [-ppackage] [-Ptmpdir]"
+.I "[-v] [-a] [-i] [--no-act] [-ppackage] [-Ptmpdir]"
.SH "DESCRIPTION"
dh_movefiles is a debhelper program that is responsible for moving files out
of debian/tmp and into other package build directories. This may be useful
.B \-i, \--indep
Move files for all architecture independent packages.
.TP
+.B \--no-act
+Do not really do anything. If used with -v, the result is that this command
+will output a list of what it would have done.
+.TP
.B \-ppackage, \--package=package
Move files for the package named "package".
.TP
.TP
.I DH_VERBOSE
Enables verbose mode
+.TP
+.I DH_NO_ACT
+Enables no-act mode (see above).
.SH "SEE ALSO"
.BR /usr/doc/debhelper/README
.SH AUTHOR
dh_shlibdeps \- calculate shared library dependancies
.SH SYNOPSIS
.B dh_shlibdeps
-.I "[-v] [-a] [-i] [-ppackage] [-Ptmpdir] [-uparams]"
+.I "[-v] [-a] [-i] [--no-act] [-ppackage] [-Ptmpdir] [-uparams]"
.SH "DESCRIPTION"
dh_shlibdeps is a debhelper program that is responsible for calculating
shared library dependancies for all executables found in the package build
.B \-i, \--indep
Install files for all architecture independent packages.
.TP
+.B \--no-act
+Do not really do anything. If used with -v, the result is that this command
+will output a list of what it would have done.
+.TP
.B \-ppackage, \--package=package
Install files for the package named "package".
.TP
.TP
.I DH_VERBOSE
Enables verbose mode
+.TP
+.I DH_NO_ACT
+Enables no-act mode (see above).
.SH "SEE ALSO"
.BR /usr/doc/debhelper/README
.BR dpkg-shlibdeps (1)
dh_strip \- strip executables, shared libraries, and some static libraries.
.SH SYNOPSIS
.B dh_strip
-.I "[-v] [-a] [-i] [-Ptmpdir] [-ppackage]"
+.I "[-v] [-a] [-i] [--no-act] [-Ptmpdir] [-ppackage]"
.SH "DESCRIPTION"
dh_strip is a debhelper program that is responsible for stripping
executables, shared libraries, and static libraries that are not used for
Strip files in all architecture independent packages (likely, this is
pointless :-).
.TP
+.B \--no-act
+Do not really do anything. If used with -v, the result is that this command
+will output a list of what it would have done.
+.TP
.B \-ppackage, \--package=package
Strip files for the package named "package".
.TP
.TP
.I DH_VERBOSE
Enables verbose mode
+.TP
+.I DH_NO_ACT
+Enables no-act mode (see above).
.SH "SEE ALSO"
.BR /usr/doc/debhelper/README
.SH "CONFORMS TO"
dh_suidregister \- set up package to register files with suidregister
.SH SYNOPSIS
.B dh_suidregister
-.I "[-v] [-a] [-i] [-ppackage] [-Ptmpdir] [-A] [file ...]"
+.I "[-v] [-a] [-i] [--no-act] [-ppackage] [-Ptmpdir] [-A] [file ...]"
.SH "DESCRIPTION"
dh_suidregister is a debhelper program that is responsible for modifying the
postinst and postrm scripts of a package so the package will register files
.B \-i, \--indep
Register files for all architecture independent packages.
.TP
+.B \--no-act
+Do not really do anything. If used with -v, the result is that this command
+will output a list of what it would have done.
+.TP
.B \-ppackage, \--package=package
Register files for the package named "package".
.TP
.TP
.I DH_VERBOSE
Enables verbose mode
+.TP
+.I DH_NO_ACT
+Enables no-act mode (see above).
.SH "SEE ALSO"
.BR /usr/doc/debhelper/README
,
dh_undocumented \- make symlinks to undocumented.7.gz man page
.SH SYNOPSIS
.B dh_undocumented
-.I "[-v] [-a] [-i] [-ppackage] [-Ptmpdir] [-A] [manpage ...]"
+.I "[-v] [-a] [-i] [--no-act] [-ppackage] [-Ptmpdir] [-A] [manpage ...]"
.SH "DESCRIPTION"
dh_undocumented is a debhelper program that is responsible for making
symlinks to the
.B \-i, \--indep
Install undocumented man page symlinks for all architecture independent packages.
.TP
+.B \--no-act
+Do not really do anything. If used with -v, the result is that this command
+will output a list of what it would have done.
+.TP
.B \-ppackage, \--package=package
Install undocumented man page symlinks for the package named "package".
.TP
.TP
.I DH_VERBOSE
Enables verbose mode
+.TP
+.I DH_NO_ACT
+Enables no-act mode (see above).
.SH "SEE ALSO"
.BR /usr/doc/debhelper/README
,