summaryrefslogtreecommitdiff
path: root/lib/Makefile.am
diff options
context:
space:
mode:
authorRaphaël Hertzog <hertzog@debian.org>2010-04-12 12:32:18 +0200
committerRaphaël Hertzog <hertzog@debian.org>2010-04-16 17:31:34 +0200
commit20f33fd89e06a214c861733c2cc28754eda58bfa (patch)
tree1c2d16320272223fed462a8e54e5d3d15ea0b406 /lib/Makefile.am
parentd5b15f56fbc93983005cf2f9cc1117a3bbb3670c (diff)
downloaddpkg-20f33fd89e06a214c861733c2cc28754eda58bfa.tar.gz
maintscript-helper: new program to simplify some maintainer scripts
This program is designed to be run within maintainer scripts to achieve some tasks that dpkg can't (yet) handle natively either because of design decisions or due to current limitations. Many of those tasks require coordinated actions from several maintainer scripts (preinst, postinst, prerm, postrm). To avoid mistakes the same call simply needs to be put in all scripts and the program will automatically adapt its behaviour based on the environment variable DPKG_MAINTSCRIPT_NAME and on the maintainer scripts arguments that you have to forward after a double dash.
Diffstat (limited to 'lib/Makefile.am')
-rw-r--r--lib/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 40c2a6b5b..deb9b9bbf 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -4,3 +4,4 @@ SUBDIRS = \
compat \
dpkg
+pkglib_SCRIPTS = maintscript-helper