diff options
author | joey <joey> | 2002-04-12 03:04:35 +0000 |
---|---|---|
committer | joey <joey> | 2002-04-12 03:04:35 +0000 |
commit | 29fd2dcb7d861e78f8b5855abd06364e8d60c2ed (patch) | |
tree | ab18887fe7bba32e72f842d5b685181df239c93d /debhelper.pod | |
parent | ea383ca972213bdda50226c536e3224a361904b8 (diff) |
r518: * dh_movefiles has long been a sore point in debhelper. Inherited
from debstd, its interface and implementation suck, and I have maintained
it while never really deigning to use it. Now there is a remplacment:
dh_install, which ...
- copies files, doesn't move them. Closes: #75360, #82649
- doesn't have that whole annoying debian/package.files vs. debian/files
mess, as it uses debian/install.
- supports copying empty subdirs. Closes: #133037
- doesn't use tar, thus no error reproting problems. Closes: #112538
- files are listed relative to the pwd, debian/tmp need not be used at
all, so no globbing issues. Closes: #100404
- supports -X. Closes: #116902
- the whole concept of moving files out of a directory is gone, so this
bug doesn't really apply. Closes: #120026
- This is exactly what Bill Allombert asked for in #117383, even though I
designed it seemingly independantly. Thank you Bill! Closes: #117383
* Made debhelper's debian/rules a lot simpler by means of the above.
* Updated example rules file to use dh_install. Also some reordering and
other minor changes.
* dh_movefiles is lightly deprecated, and when you run into its bugs and
bad design, you are incouraged to just use dh_install instead.
* dh_fixperms: in v4 only, make all files in bin/ dirs +x. Closes: #119039
* dh_fixperms: in v4 only, make all files in etc/init.d executable (of
course there's -X ..)
* dh_link: in v4 only, finds existing, non-policy-conformant symlinks
and corrects them. This has the side effect of making dh_link idempotent.
* Added a -h/--help option. This seems very obvious, but it never occured to
me before..
* use v4 for building debhelper itself
* v4 mode is done, you may now use it without fear of it changing.
(This idea of this upload is to get v4 into woody so people won't run into
many issues backporting from sarge to woody later on. Packages targeted
for woody should continue to use whatever compatability level they are
using.)
Diffstat (limited to 'debhelper.pod')
-rw-r--r-- | debhelper.pod | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/debhelper.pod b/debhelper.pod index df822163..d8efb529 100644 --- a/debhelper.pod +++ b/debhelper.pod @@ -185,11 +185,13 @@ the set command): =head2 Automatic generation of miscellaneous dependencies. Some debhelper commands may make the generated package need to depend on -some other packages. For example, if you use L<dh_installdebconf(1)>, you'r +some other packages. For example, if you use L<dh_installdebconf(1)>, your package will generally need to depend on debconf. Or if you use L<dh_installxfonts(1)>, your package will generally need to depend on a particular version of xutils. Keeping track of these miscellaneous -dependencies can be annoying, so debhelper offers a way to automate it. +dependencies can be annoying since they are dependant on how debhelper does +things, so debhelper offers a way to automate it. + All commands of this type, besides documenting what dependencies may be needed on their man pages, will automatically generate a substvar called ${misc:Depends}. If you put that token into your debian/control file, it @@ -223,9 +225,9 @@ introduced. You tell debhelper which compatability level it should use, and it modifies its behavior in various ways. You tell debhelper what compatability level to use by writing a number to -debian/compat. For example, to turn on V3 mode: +debian/compat. For example, to turn on V4 mode: - % echo 3 > debian/compat + % echo 4 > debian/compat These are the available compatablity levels: @@ -246,8 +248,7 @@ as the package tree directory for every package that is built. =item V3 -This is the reccommended mode of operation. It does everything V2 does, -plus: +This mode works like V2, with the following additions: =over 8 @@ -268,8 +269,8 @@ Every file in etc/ is automatically flagged as a conffile by dh_installdeb. =item V4 -This mode is still under development, and its behavior may change at any -time. Currently, it does everything V3 does, plus: +This is the reccommended mode of operation. It does everything V3 does, +plus: =over 8 @@ -283,6 +284,15 @@ the generated dependancy line in the shlibs file. dh_installinit uses the new invoke-rc.d program in its generated maintainer scripts. (This may later be rolled back into V3). +=item - + +dh_fixperms will make all files in bin/ directories and in etc/init.d +executable. + +=item - + +dh_link will correct existing links to conform with policy. + =back =back |