summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules24
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..e9b138e
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,24 @@
+#!/usr/bin/make -f
+
+export DH_VERBOSE = 1
+
+%:
+ dh ${@} --with autoreconf
+
+override_dh_auto_configure:
+ dh_auto_configure -- --with-gui=none
+
+override_dh_auto_install:
+ dh_auto_install
+
+ ./libtool --mode=install install tools/ps_convert $(CURDIR)/debian/tmp/usr/sbin/ps_convert
+ ./libtool --mode=install install tools/ps_inspect $(CURDIR)/debian/tmp/usr/sbin/ps_inspect
+
+override_dh_install:
+ dh_install -X.la --fail-missing --sourcedir=debian/tmp
+
+override_dh_strip:
+ dh_strip --dbg-package=trousers-dbg
+
+override_dh_installudev:
+ dh_installudev -n --priority=45