From ff1eda3dfb95162cd26600ccdcc234d70916e1b8 Mon Sep 17 00:00:00 2001 From: joey Date: Mon, 22 Jul 2002 05:01:02 +0000 Subject: r539: * Remove /usr/doc manglement code from postinst and prerm. Do not use this verion of debhelper for woody backports! * Removed dh_installxaw. --- dh_installdocs | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) (limited to 'dh_installdocs') diff --git a/dh_installdocs b/dh_installdocs index 7bfe8ff1..7a8fc461 100755 --- a/dh_installdocs +++ b/dh_installdocs @@ -39,11 +39,6 @@ debian/package.TODO can be used to specify files for subpackages. Files named debian/package.docs can list other files to be installed. -This program will automatically generate postinst and prerm commands to -maintain a compatibility symlink, /usr/doc/package, to the documentation in -/usr/share/doc/package. See L for an explanation of how -this works. - Files named debian/package.doc-base, will be installed as doc-base control files, and will make this program automatically generate the postinst and prerm commands needed to interface with the doc-base package. Note that the @@ -174,15 +169,15 @@ foreach my $package (@{$dh{DOPACKAGES}}) { } } - # Add in the /usr/doc compatibility symlinks code. - if (! $dh{NOSCRIPTS}) { - autoscript($package,"postinst","postinst-doc", - "s/#PACKAGE#/$package/g", - ); - autoscript($package,"prerm","prerm-doc", - "s/#PACKAGE#/$package/g", - ); - } +# # Add in the /usr/doc compatibility symlinks code. +# if (! $dh{NOSCRIPTS}) { +# autoscript($package,"postinst","postinst-doc", +# "s/#PACKAGE#/$package/g", +# ); +# autoscript($package,"prerm","prerm-doc", +# "s/#PACKAGE#/$package/g", +# ); +# } # Handle doc-base files. There are two filename formats, the usual # plus an extended format (debian/package.*). -- cgit v1.2.3