diff options
author | Joey Hess <joey@kitenet.net> | 2011-12-07 14:08:41 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-12-07 15:07:49 -0400 |
commit | 83a233af6f938bcd50745b35fabb15788293452e (patch) | |
tree | 16185edf2db8c992cb3e31d39c9b6956a6e3142e /debhelper.pod | |
parent | 46ecfad5fed9e0e4ef179f5ec531f996400669b7 (diff) |
executable config files. bleh, argh
Debhelper config files may be made executable programs that output the
desired configuration. No further changes are planned to the config file
format; those needing powerful syntaxes may now use a programming language
of their choice.
In many bugs I see a tendency of users wanting debhelper configuration
files to have their pet feature from some programming language. So I choose
to short-circuit this process by taking it to its logical conclusion, and
without the bother of developing a new language myself.
[ Is this consistent with my boycott/disinterest in integrating features
features first developed in Ubuntu? Yes. Instead of blocking the
issue of multiarch needing variable expansions, I have stepped
back and let anyone make whatever mess they desire while not forcing
that mess on the rest of us. ]
Diffstat (limited to 'debhelper.pod')
-rw-r--r-- | debhelper.pod | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/debhelper.pod b/debhelper.pod index 98da736..65616e3 100644 --- a/debhelper.pod +++ b/debhelper.pod @@ -69,9 +69,9 @@ Generally, these files will list files to act on, one file per line. Some programs in debhelper use pairs of files and destinations or slightly more complicated formats. -Note that if a package is the first (or only) binary package listed in -F<debian/control>, debhelper will use F<debian/foo> if no F<debian/package.foo> -file can be found. +Note for the first (or only) binary package listed in +F<debian/control>, debhelper will use F<debian/foo> when there's no +F<debian/package.foo> file. In some rare cases, you may want to have different versions of these files for different architectures or OSes. If files named debian/I<package>.foo.I<ARCH> @@ -80,14 +80,19 @@ output of "B<dpkg-architecture -qDEB_HOST_ARCH>" / "B<dpkg-architecture -qDEB_HOST_ARCH_OS>", then they will be used in preference to other, more general files. -In many cases, these config files are used to specify various types of +Mostly, these config files are used to specify lists of various types of files. Documentation or example files to install, files to move, and so on. When appropriate, in cases like these, you can use standard shell wildcard characters (B<?> and B<*> and B<[>I<..>B<]> character classes) in the files. - You can also put comments in these files; lines beginning with B<#> are ignored. +The syntax of these files is intentionally kept very simple to make then +easy to read, understand, and modify. If you prefer power and complexity, +you can make the file executable, and write a program that outputs +whatever content is appropriate for a given situation. When you do so, +the output is not further processed to expand wildcards or strip comments. + =head1 SHARED DEBHELPER OPTIONS The following command line options are supported by all debhelper programs. |