summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2014-10-26 08:07:17 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2014-10-26 08:07:17 +0100
commitd5af5e5b44d40be20cf0da5394ef8d5640b9eafa (patch)
tree4c857be9a172e7bf0180e3892383f687640cd31f /debian/rules
parent4ada4fbf9512266bda642485e68a52f1dd7a6804 (diff)
Correct some *.(postrm|preinst) scripts, remove useless parts
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules8
1 files changed, 4 insertions, 4 deletions
diff --git a/debian/rules b/debian/rules
index 9370932..ea7d0c4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -98,8 +98,8 @@ override_dh_installdocs:
# move the html files into html/
install -d debian/libsane-common/usr/share/doc/libsane/html
mv debian/tmp/usr/share/doc/libsane/*.html debian/libsane-common/usr/share/doc/libsane/html/
- # create the /etc/sane.d/dll.d directory in libsane
- install -d debian/libsane/etc/sane.d/dll.d
+ # create the /etc/sane.d/dll.d directory in libsane-common
+ install -d debian/libsane-common/etc/sane.d/dll.d
$(RM) debian/libsane-common/etc/sane.d/saned.conf
ifeq (kfreebsd,$(DEB_HOST_ARCH_OS))
cp README.freebsd debian/libsane-common/usr/share/doc/libsane/
@@ -107,8 +107,8 @@ endif
ifeq (linux,$(DEB_HOST_ARCH_OS))
cp README.linux debian/libsane-common/usr/share/doc/libsane/
endif
- $(RM) -f $(CURDIR)/debian/libsane-common/usr/share/doc/libsane/*.html
- $(RM) -f $(CURDIR)/debian/tmp/usr/share/doc/libsane/*.html
+ $(RM) $(CURDIR)/debian/libsane-common/usr/share/doc/libsane/*.html
+ $(RM) $(CURDIR)/debian/tmp/usr/share/doc/libsane/*.html
override_dh_installudev:
ifeq (linux,$(DEB_HOST_ARCH_OS))