]> git.donarmstrong.com Git - debhelper.git/blob - README
r103: Initial revision
[debhelper.git] / README
1 Debhelper is a collection of programs that can be used in debian/rules files
2 to automate common tasks. For further documentation, see the man pages for
3 dh_* commands.
4
5 To help you get started, I've included an example of a debian/rules file
6 that uses debhelper commands extensivly. See
7 /usr/doc/debhelper/examples/rules .
8
9 Notes on multiple binary packages:
10 ---------------------------------
11
12 If your source package generates more than one binary package, debhelper
13 programs will default to acting on all binary packages when run. If your
14 source package happens to generate one architecture dependent package, and
15 another architecture independent package, this is not the correct behavior,
16 because you need to generate the architecture dependent packages in the
17 binary-arch debian/rules target, and the architecture independent packages
18 in the binary-indep debian/rules target.
19
20 To faciliatate this, as well as give you more control over which packages
21 are acted on by debhelper programs, all debhelper programs accept the
22 following parameters:
23
24 -a              Act on architecture dependent packages
25 -i              Act on architecture independent packages
26 -ppackage       Act on the package named "package" (may be repeated multiple
27                 times)
28
29 These parameters are cumulative. If none are given, the tools default to
30 effecting all packages.
31
32 See examples/rules.multi for an example of how to use this.
33
34 -- Joey Hess <joeyh@master.debian.org>