summaryrefslogtreecommitdiff
path: root/doc/PROGRAMMING
diff options
context:
space:
mode:
Diffstat (limited to 'doc/PROGRAMMING')
-rw-r--r--doc/PROGRAMMING13
1 files changed, 1 insertions, 12 deletions
diff --git a/doc/PROGRAMMING b/doc/PROGRAMMING
index 891d31b0..da21ea9d 100644
--- a/doc/PROGRAMMING
+++ b/doc/PROGRAMMING
@@ -51,7 +51,7 @@ supported now, though.)
Use Dh_lib.pm like this:
-BEGIN { push @INC, "debian", "/usr/share/debhelper" }
+BEGIN { push @INC, "debian", "/usr/lib/debhelper" }
use Dh_Lib;
init();
@@ -116,13 +116,6 @@ switch variable description
--init-script INIT_SCRIPT will be set to a string, which specifies an
init script name (probably only
dh_installinit will ever use this)
---sourcedir SOURCEDIR will be set to a string (probably only
- dh_movefiles will ever use this)
---destdir DESTDIR will be set to a string (probably only
- dh_builddeb will ever use this)
---flavor FLAVOR will be set to a string (probably only
- dh_installemacsen will ever use this)
---number NUMBER will be set to a number
Any additional command line parameters that do not start with "-" will be
ignored, and you can access them later just as you normally would.
@@ -169,10 +162,6 @@ tmpdir()
name of the tmp directory that will be used as this package's
package build directory. Typically, this will be "debian/tmp" or
"debian/package".
-compat()
- Pass this command a number, and if the current compatability level
- equals that number, it will return true. Looks at DH_COMPAT to get
- the compatability level.
pkgfile()
Pass this command the name of a binary package, and the base name of a
file, and it will return the actual filename to use. This is used