]> git.donarmstrong.com Git - debhelper.git/commitdiff
r37: Initial Import
authorjoey <joey>
Tue, 17 Aug 1999 04:39:16 +0000 (04:39 +0000)
committerjoey <joey>
Tue, 17 Aug 1999 04:39:16 +0000 (04:39 +0000)
README
debian/changelog
dh_installdebfiles
dh_installdebfiles.1
dh_installinit.1
examples/rules
examples/rules.multi

diff --git a/README b/README
index e192504dca706d8857d76e80ede45efd04db7263..280da78149f40cff0a1e95bda656fb23e9ae0f70 100644 (file)
--- a/README
+++ b/README
@@ -35,7 +35,9 @@ Remove that and replace it with something like:
        dh_compress
        dh_fixperms
        dh_suidregister
-       dh_installdebfiles
+       dh_installdeb
+       dh_shlibdeps
+       dh_gencontrol
        dh_makeshlibs
        dh_md5sums
        dh_builddeb
@@ -68,7 +70,7 @@ Some debhelper commands will automatically generate parts of debian install
 scripts. If you want these automatically generated things included in your
 debian install scripts, then you need to add "#DEBHELPER#" to your scripts,
 in the place the code should be added. "#DEBHELPER#" will be replaced by any 
-autogenerated code when you run dh_installdebfiles.
+autogenerated code when you run dh_installdeb.
 
 All scripts that automatically generate code in this way let it be disabled
 by the -n parameter.
index d2f17f96c765f3be8fb8b385d82306a2f6c1d83c..96c4971bf79cbffe6605de2d375d9e6364327e25 100644 (file)
@@ -1,3 +1,9 @@
+debhelper (0.31) unstable; urgency=low
+
+  * Fixed man page typos #15685.
+
+ -- Joey Hess <joeyh@master.debian.org>  Sat,  6 Dec 1997 21:44:58 -0500
+
 debhelper (0.30) unstable; urgency=low
 
   * dh_md5sumes, dh_installdirs, dh_compress: fixed assorted cd bugs.
index 825c9ee57f6c5a8d6fe61041ad31f28ab3ac2fd7..8b1e09620a70adb33eb3e6107ddd7c2790a22ae6 100755 (executable)
@@ -1,64 +1,12 @@
 #!/bin/sh -e
 #
-# Install files from debian/ into the package's DEBIAN directory.
-# Also generates the control file.
+# This program is depricated, but left in the package for backwards
+# compatability. It simply calls the 3 programs that replaced it.
 
 PATH=debian:$PATH:/usr/lib/debhelper
-. dh_lib
 
-for PACKAGE in $DH_DOPACKAGES; do
-       TMP=`tmpdir $PACKAGE`
-       EXT=`pkgext $PACKAGE`
+echo "* Note: dh_installdebfiles is depricated." >&2
 
-       if [ ! -d $TMP/DEBIAN ]; then
-               doit "install -o root -g root -d $TMP/DEBIAN"
-       fi
-
-       # Install debian install scripts.
-       # If any .debhelper files exist, add them into the scripts.
-       for file in postinst preinst prerm postrm; do
-               if [ -f debian/$EXT$file ]; then
-                       # Add this into the script, where it has #DEBHELPER#
-                       if [ -f debian/$EXT$file.debhelper ]; then
-                               complex_doit "perl -pe 's~#DEBHELPER#~qx{cat debian/$EXT$file.debhelper}~eg' < debian/$EXT$file > $TMP/DEBIAN/$file"
-                               doit "chown root.root $TMP/DEBIAN/$file"
-                               doit "chmod 755 $TMP/DEBIAN/$file"
-                       else
-                               doit "install -o root -g root -p debian/$EXT$file $TMP/DEBIAN/$file"
-                       fi
-               else
-                       # Auto-generate script header and add .debhelper
-                       # content to it.
-                       if [ -f debian/$EXT$file.debhelper ]; then
-                               complex_doit "echo '#!/bin/sh -e' > $TMP/DEBIAN/$file"
-                               complex_doit "cat debian/$EXT$file.debhelper >> $TMP/DEBIAN/$file"
-                               doit "chown root.root $TMP/DEBIAN/$file"
-                               doit "chmod 755 $TMP/DEBIAN/$file"
-                       fi
-               fi
-       done
-
-       # Install non-executable files
-       for file in shlibs conffiles; do
-               if [ -f debian/$EXT$file ]; then
-                       doit "install -o root -g root -m 644 -p debian/$EXT$file $TMP/DEBIAN/$file"
-               fi                                               
-       done
-
-       # Run dpkg-shlibdeps to generate dependancies.
-       filelist=""
-       for file in `find $TMP -type f \( -perm +111 -or -name "*.so*" \) | tr "\n" " "` ; do
-               case "`file $file`" in
-                       *ELF*)
-                               filelist="$file $filelist"
-                       ;;
-               esac
-       done
-       if [ "$filelist" ]; then
-               doit "dpkg-shlibdeps -Tdebian/${EXT}substvars $filelist"
-       fi
-
-       # Generate and install control file.
-       doit "dpkg-gencontrol -p$PACKAGE -Tdebian/${EXT}substvars -P$TMP"
-       doit "chown root.root $TMP/DEBIAN/control"
-done
+dh_installdeb $*
+dh_shlibdeps $*
+dh_gencontrol $*
index 429481f402dd776a01a3334b8f7778decb49f16d..8b34b910de96af09cd9a8031fae45dc268e442b6 100644 (file)
@@ -2,7 +2,7 @@
 .SH NAME
 dh_installdebfiles \- install files into the DEBIAN directory
 .SH SYNOPSIS
-.B dh_installdebfils
+.B dh_installdebfiles
 .I "[-v] [-a] [-i] [-ppackage] [-Ptmpdir]"
 .SH "DESCRIPTION"
 dh_installdebfiles is a debhelper program that is responsible for installing
index f87c0c58264ce93d20b360286a5fa9082c6e7d1d..e0daac426636d1f61ee4e43d582e1ac3c56f52d8 100644 (file)
@@ -3,7 +3,7 @@
 dh_installinit \- install init scripts into package build directories
 .SH SYNOPSIS
 .B dh_installinit
-.I "[-v] [-a] [-i] [-ppackage] [-Ptmpdir] [-n] [-r] [-d] [-u params]"
+.I "[-v] [-a] [-i] [-ppackage] [-Ptmpdir] [-n] [-r] [-d] [-uparams]"
 .SH "DESCRIPTION"
 dh_installinit is a debhelper program that is responsible for installing
 init scripts into package build directories. 
@@ -47,7 +47,7 @@ Remove trailing "d" from the name of the package, and use the result for the
 filename the init script is installed as in etc/init.d/ . This may be useful
 for daemons with named ending in "d".
 .TP
-.B \-u params
+.B \-uparams
 Pass "params" to 
 .BR update-rc.d (8)
 If not specified, "default" will be passed to
index 10661223214f04054b027e8efbbd8d21e2d98b0f..87692ccde317bb026bf4d9f6618009b9107ee4c5 100755 (executable)
@@ -43,7 +43,9 @@ binary-arch: build
        dh_compress
        dh_fixperms
        dh_suidregister
-       dh_installdebfiles
+       dh_installdeb
+       dh_shlibdeps
+       dh_gencontrol
 #      dh_makeshlibs
        dh_du
        dh_md5sums
index 496c3366acb61b62a358e0ddb07d0fb0d8a3ced3..f0bd78a667084fef9e149eea0a11cbeb18e932fd 100755 (executable)
@@ -41,8 +41,9 @@ binary-indep: build
        dh_compress -i
        dh_fixperms -i
        dh_suidregister -i
-       dh_installdebfiles -i
-       dh_du -a
+       dh_installdeb -i
+       dh_gencontrol -i
+       dh_du -i
        dh_md5sums -i
        dh_builddeb -i
 
@@ -66,7 +67,9 @@ binary-arch: build
        dh_compress -a
        dh_fixperms -a
        dh_suidregister -a
-       dh_installdebfiles -a
+       dh_installdeb -a
+       dh_shlibdeps -a
+       dh_gencontrol -a
 #      dh_makeshlibs -a
        dh_du -a
        dh_md5sums -a