debian/rules: Simplify the installation of the udev rules file

This commit is contained in:
Laurent Bigonville
2018-06-21 15:10:44 +02:00
parent 98bc488e44
commit 3f29741cc2
3 changed files with 7 additions and 8 deletions
+2 -1
View File
@@ -16,8 +16,9 @@ libfprint (1:0.8.1-1) UNRELEASED; urgency=medium
* debian/control: Bump Standards-Version to 4.1.4 (no further changes)
* debian/control: Bump all the packages to priority optional, priority extra
is now deprecated
* debian/rules: Simplify the installation of the udev rules file
-- Laurent Bigonville <bigon@debian.org> Thu, 21 Jun 2018 21:09:25 +0200
-- Laurent Bigonville <bigon@debian.org> Thu, 21 Jun 2018 21:12:34 +0200
libfprint (1:0.7.0-1) unstable; urgency=medium
+1
View File
@@ -1 +1,2 @@
usr/lib/*/lib*.so.*
lib/udev/rules.d/
+4 -7
View File
@@ -6,13 +6,10 @@ CONFIG_ARGS = -Dudev_rules_dir=/lib/udev/rules.d
%:
dh $@
override_dh_clean:
dh_clean
rm -f debian/libfprint0.udev
override_dh_auto_configure:
dh_auto_configure -- $(CONFIG_ARGS)
override_dh_installudev:
cp libfprint/60-fprint-autosuspend.rules debian/libfprint0.udev
dh_installudev
override_dh_install:
mv debian/tmp/lib/udev/rules.d/60-fprint-autosuspend.rules \
debian/tmp/lib/udev/rules.d/60-libfprint0.rules
dh_install