From a0061c2bdf1020c3475604422755eabd3a46da76 Mon Sep 17 00:00:00 2001 From: joey Date: Tue, 17 Aug 1999 05:17:43 +0000 Subject: r236: Initial Import --- debian/changelog | 7 +++++++ debian/rules | 1 + dh_installinfo | 2 +- examples/rules | 1 + examples/rules.multi | 2 ++ 5 files changed, 12 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 0e1bea1c..0906c8d5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +debhelper (2.0.11) unstable; urgency=low + + * At long, long last, dh_installinfo is written. It takes a simple list of + info files and figures out the rest for you. (Closes: #15717) + + -- Joey Hess Wed, 7 Jul 1999 17:04:48 -0700 + debhelper (2.0.10) unstable; urgency=low * dh_compress: compress changelog.html files. (Closes: #40626) diff --git a/debian/rules b/debian/rules index e1f8d237..ef833d1c 100755 --- a/debian/rules +++ b/debian/rules @@ -52,6 +52,7 @@ binary-indep: build ./dh_installexamples examples/* ./dh_installmenu ./dh_installmanpages + ./dh_installinfo # Fix up all man pages, filling in the modification time for them. # Note this runs beofre the command below so debhelper.1 gets the right # date on it. diff --git a/dh_installinfo b/dh_installinfo index b6ae40f9..20d5e003 100755 --- a/dh_installinfo +++ b/dh_installinfo @@ -49,7 +49,7 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) { if ($section ne '') { autoscript($PACKAGE,"postinst","postinst-info", - "s/#SECTION#/$section/;s:#FILE#:$fn:"); + "s/#SECTION#/$section/g;s:#FILE#:$fn:"); } else { autoscript($PACKAGE,"postinst","postinst-info-nosection", diff --git a/examples/rules b/examples/rules index 5ad68924..78cfed49 100755 --- a/examples/rules +++ b/examples/rules @@ -56,6 +56,7 @@ binary-arch: build install # dh_installinit dh_installcron dh_installmanpages + dh_installinfo # dh_undocumented dh_installchangelogs dh_link diff --git a/examples/rules.multi b/examples/rules.multi index 034a4514..7329437a 100755 --- a/examples/rules.multi +++ b/examples/rules.multi @@ -56,6 +56,7 @@ binary-indep: build install # dh_installinit -i dh_installcron -i # dh_installmanpages -i + dh_installinfo -i # dh_undocumented dh_installchangelogs -i dh_link -i @@ -82,6 +83,7 @@ binary-arch: build install # dh_installinit -a dh_installcron -a dh_installmanpages -a + dh_installinfo -a # dh_undocumented dh_installchangelogs -a dh_strip -a -- cgit v1.2.3