]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_gconf
Fix build system auto-selection breakage.
[debhelper.git] / dh_gconf
index 8903566ded2423bbb772527de90782015311a7f5..514aae7972ba2d32db07214412a59b13cad586fe 100755 (executable)
--- a/dh_gconf
+++ b/dh_gconf
@@ -22,19 +22,25 @@ It automatically generates the postinst and prerm fragments needed
 to register and unregister the schemas in usr/share/gconf/schemas, using
 gconf-schemas.
 
-If a file named debian/package.gconf-defaults exists, then it is
-installed into usr/share/gconf/defaults/10_package in the package build
-directory, with "package" replaced by the package name. Some postinst and
-postrm fragments will be generated to launch update-gconf-defaults.
-
-If a file named debian/package.gconf-mandatory exists, then it is
-installed into usr/share/gconf/mandatory/10_package in the package build
-directory, with "package" replaced by the package name, and similar
+An appropriate dependency on gconf2 will be generated in ${misc:Depends}.
+
+=head1 FILES
+
+=over 4
+
+=item debian/I<package>.gconf-defaults
+
+Installed into usr/share/gconf/defaults/10_package in the package build
+directory, with "I<package>" replaced by the package name. Some postinst
+and postrm fragments will be generated to run update-gconf-defaults.
+
+=item debian/I<package>.gconf-mandatory
+
+Installed into usr/share/gconf/mandatory/10_package in the package build
+directory, with "I<package>" replaced by the package name, and similar
 postinst and postrm fragments will be generated.
 
-The gconf-schemas and update-gconf-defaults scripts are provided by the
-gconf2 package. An appropriate dependency will be generated in
-${misc:Depends}.
+=back
 
 =head1 OPTIONS
 
@@ -96,7 +102,6 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
                if ($schemas ne '') {
                        autoscript($package,"postinst","postinst-gconf","s%#SCHEMAS#%$schemas%");
                        autoscript($package,"prerm","prerm-gconf","s%#SCHEMAS#%$schemas%");
-                       autoscript($package,"postrm","postrm-gconf","s%#SCHEMAS#%$schemas%");
                        addsubstvar($package, "misc:Depends", "gconf2 (>= 2.10.1-2)") unless $gconf_dep;
                }
        }