+debhelper (0.90) unstable; urgency=low
+
+ * I'd like to thank Len Pikulski and Igor Grobman at nothinbut.net for
+ providing me with free internet access on a moment's notice, so I could
+ get this package to you after hacking on it all over New England for the
+ past week. Thanks, guys!
+ .
+ * Added dh_debstd, which mimics the functionality of the debstd command.
+ It's not a complete nor an exact copy, and it's not so much intended to
+ be used in a debian/rules file, as it is to be run by hand when you are
+ converting a package from debstd to debhelper. "dh_debstd -v" will
+ output the sequence of debhelper commands that approximate what debstd
+ would do in the same situation.
+ * dh_debstd is completly untested, I don't have the source to any packages
+ that use debstd available. Once this is tested, I plan to release
+ debhelper 1.0!
+ * Added a from-debstd document that gives a recipe to convert from debstd
+ to debhelper.
+ * dh_fixperms: can now use -X to exclude files from having their
+ permissions changed.
+ * dh_testroot: test for uid == 0, instead of username == root, becuase
+ some people enjoy changing root's name.
+ * dh_installinit: handle debian/init.d as well as debian/init files,
+ for backwards compatability with debstd. Unlike with debstd, the two
+ files are treated identically.
+ * dh_lib, PROGRAMMING: added "warning" function.
+ * Minor man page fixes.
+ * dh_compress: don't bomb out if usr/doc/<package> is empty. (#23054)
+ * dh_compress, dh_installdirs: always cd into $TMP and back out, even if
+ --no-act is on. (#23054)
+
+ -- Joey Hess <joeyh@master.debian.org> Mon, 1 Jun 1998 21:57:45 -0400
+
debhelper (0.88) unstable; urgency=low
* I had many hours on a train to hack on debhelper... enjoy!
Thanks to Bdale Garbee <bdale@gag.com> and Adam Heath
<adam.heath@usa.net> for help on the implementation.
* dh_installchangelogs: use debian/package.changelog files if they exist
- rather than debian.changelog. It appears some people do need per-package
+ rather than debian/changelog. It appears some people do need per-package
changelogs.
* dh_gencontrol: if debian/package.changelogs files exist, use them.
* Above 2 changes close #20442.
Section: devel
Priority: optional
Maintainer: Joey Hess <joeyh@master.debian.org>
-Standards-Version: 2.4.1.0
+Standards-Version: 2.4.1.1
Package: debhelper
Architecture: all
dh_compress \- compress files and fix symlinks in package build directories
.SH SYNOPSIS
.B dh_compress
-.I "[-v] [-a] [-i] [-X] [--no-act] [-ppackage] [-Ptmpdir]"
+.I "[-v] [-a] [-i] [-Xitem] [--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 \-Ptmpdir, \--tmpdir=tmpdir
Use "tmpdir" for package build directory.
.TP
-.B \-X=item, \--exclude=item
+.B \-Xitem, \--exclude=item
Exclude files that contain "item" anywhere in their filename from being
compressed. For example, -X=.jpeg will exclude jpeg's from compression.
You may use this option multiple times to build up a list of things to
dh_fixperms \- fix permissions of files in package build directories
.SH SYNOPSIS
.B dh_fixperms
-.I "[-v] [-a] [-i] [--no-act] [-ppackage] [-Ptmpdir]"
+.I "[-v] [-a] [-i] [-Xitem] [--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.
.TP
.B \-Ptmpdir, \--tmpdir=tmpdir
Use "tmpdir" for package build directory.
+.TP
+.B \-Xitem, \--exclude=item
+Exclude files that contain "item" anywhere in their filename from having
+their permissions changed. You may use this option multiple times to build
+up a list of things to exclude.
.SH NOTES
The
.B \-a
done
# Create dirs.
olddir=`pwd`
- doit "cd $TMP"
+ verbose_echo "cd $TMP"
+ cd "$TMP"
doit "install -d $dirs"
- doit "cd $olddir"
+ verbose_echo "cd $olddir"
+ cd "$olddir"
fi
done
+
doit "cp -a $docs $TMP/usr/doc/$PACKAGE/"
fi
- # Install these files only into the main package by default.
- if [ "$PACKAGE" = "$MAINPACKAGE" ]; then
- if [ -f debian/README.debian ]; then
- # .Debian is correct according to policy.
- doit "install -m 644 -p debian/README.debian $TMP/usr/doc/$PACKAGE/README.Debian"
- fi
- if [ -f debian/README.Debian ]; then
- doit "install -m 644 -p debian/README.Debian $TMP/usr/doc/$PACKAGE/"
- fi
- if [ -f debian/TODO ]; then
- if isnative; then
- doit "install -m 655 -p debian/TODO $TMP/usr/doc/$PACKAGE/TODO"
- else
- doit "install -m 644 -p debian/TODO $TMP/usr/doc/$PACKAGE/TODO.Debian"
- fi
+ # .Debian is correct, according to policy.
+ readme_debian=`pkgfile $PACKAGE README.Debian`
+ if [ -z "$readme_debian" ]; then
+ readme_debian=`pkgfile $PACKAGE README.debian`
+ fi
+ if [ "$readme_debian" ]; then
+ doit "install -m 644 -p $readme_debian $TMP/usr/doc/$PACKAGE/README.Debian"
+ fi
+
+ todo=`pkgfile $PACKAGE TODO`
+ if [ "$todo" ]; then
+ if isnative; then
+ doit "install -m 655 -p $todo $TMP/usr/doc/$PACKAGE/TODO"
+ else
+ doit "install -m 644 -p $todo $TMP/usr/doc/$PACKAGE/TODO.Debian"
fi
fi
binary package in debian/control, but if you use -p, -i, or -a flags, it
will be the first package specified by those flags.
.P
-Also, debian/README.Debian (or debian/README.debian) and debian/TODO, if
+Also, debian/README.Debian (or debian/README.debian) and debian/TODO, if
they exist, will be installed into the first binary package listed in
debian/control, if dh_installdocs is acting on that package. Note that
debian/TODO will be installed named TODO.Debian, if the package is not a
debian native package. Also note that README.debian is installed as
-README.Debian, for consitency.
+README.Debian, for consitency. Note that debian/package.README.Debian and
+debian/package.TODO can be used to specify files for subpackages.
.P
A file named debian/package.docs (debian/docs may be used for the first
binary package in debian/control) can list other files to be installed.
needed to set up the symlinks in /etc/rc*.d/ and to start and stop the init
scripts.
.P
-If a file named debian/package.init exists, then it is installed into
+If a file named debian/package.init (or debian/package.init.d for backwards
+compatability with debstd) exists, then it is installed into
etc/init.d/package in the package build directory, with "package" replaced
by the packagename. (You may use debian/init for the first binary package
listed in the control file.)
.B \-d, \--remove-d
Remove trailing "d" from the name of the package, and use the result for the
filename the init script is installed as in etc/init.d/ . This may be useful
-for daemons with named ending in "d". (Note: this takes precidence over
+for daemons with names ending in "d". (Note: this takes precidence over
the --init-script parameter described below.)
.TP
.B \-uparams, \--update-rcd-params=params
dh_makeshlibs \- automatically create shlibs file
.SH SYNOPSIS
.B dh_makeshlibs
-.I "[-v] [-a] [-i] [--no-act] [-mmajor] [-Ptmpdir] [-ppackage] [-mmajor] [-V[dependancies]]"
+.I "[-v] [-a] [-i] [--no-act] [-mmajor] [-Ptmpdir] [-ppackage] [-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.