summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-02-14 18:31:23 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-02-14 18:31:23 +0100
commit38b8351db1ec5ccf06bb3ebf46fcf6c1507a076c (patch)
treead08d106b748547cd6150a2bc61afa32d21fecbf
parentf57b20e6445dada44e7440ed7e5c26ae03fbaf97 (diff)
Add overrides_dh_install-arch and -indep
-rw-r--r--debian/changelog1
-rwxr-xr-xdebian/rules8
2 files changed, 5 insertions, 4 deletions
diff --git a/debian/changelog b/debian/changelog
index ab6e3f6..2e6a04f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,7 @@ foomatic-filters (4.0.17-8) UNRELEASED; urgency=medium
- remove trailing whitespaces.
* debian/rules:
- Enable hardening.
+ - Add overrides_dh_install-arch and -indep.
-- Jörg Frings-Fürst <debian@jff-webhosting.net> Sat, 13 Feb 2016 23:56:21 +0100
diff --git a/debian/rules b/debian/rules
index 34a7a73..5fb5978 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,11 +15,11 @@ override_dh_auto_build:
dh_auto_build
chmod -x filter.conf
-override_dh_install_indep:
+override_dh_install-arch:
dh_install
rm -f $(CURDIR)/debian/foomatic-filters/etc/foomatic/filter.conf*
- cp -p debian/parseconfig.pl $(CURDIR)/debian/foomatic-filters/usr/share/foomatic
+ cp -p $(CURDIR)/debian/parseconfig.pl $(CURDIR)/debian/foomatic-filters/usr/share/foomatic
chmod +x $(CURDIR)/debian/foomatic-filters/usr/share/foomatic/parseconfig.pl
# Install the apport hook on Ubuntu and derivatives
ifeq ($(derives_from_ubuntu),yes)
@@ -37,8 +37,9 @@ else
sed -i -e "s/#MOTHER_DISTRO#/Debian/g" debian/foomatic-filters.postinst
sed -i -e "s/#FF_PS_DEFAULT_CHANGE_VERSION#/4.0.5-1/g" debian/foomatic-filters.postinst
endif
+# cp 111.111 333.333
-override_dh_install_arch:
+override_dh_install-indep:
dh_install
override_dh_clean:
@@ -49,6 +50,5 @@ override_dh_clean:
override_dh_perl:
# Perl scripts from this package don't use any perl modules, so call dh_perl with "-d" to avoid the unnecessary perl dependency
dh_perl -d
-# cp 111.111 333.333