summaryrefslogtreecommitdiff
path: root/package/debian/rules
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2020-06-16 20:25:31 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2020-06-16 20:25:31 -0400
commit60bbd1b24a640e26a3f71f8eb35b5c031642a5e5 (patch)
treebddc4fa7905fb008e48f66eadb1fd2cb4672a7e2 /package/debian/rules
parent08f44086320c6bc5f2c7eb6457a0d53192832805 (diff)
use Debian's package-files as starting point for test-packages
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'package/debian/rules')
-rwxr-xr-xpackage/debian/rules24
1 files changed, 24 insertions, 0 deletions
diff --git a/package/debian/rules b/package/debian/rules
new file mode 100755
index 0000000..d755cc1
--- /dev/null
+++ b/package/debian/rules
@@ -0,0 +1,24 @@
+#!/usr/bin/make -f
+# debian/rules for the Debian twm package.
+# Copyright © 2004 Scott James Remnant <scott@netsplit.com>
+# Copyright © 2005 Daniel Stone <daniel@fooishbar.org>
+# Copyright © 2005 David Nusinow <dnusinow@debian.org>
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+ dh $@ --with quilt,autoreconf --builddirectory=build/ --parallel
+
+override_dh_auto_configure:
+ dh_auto_configure -- --disable-silent-rules
+
+override_dh_auto_install:
+ dh_auto_install --destdir=debian/tmp
+ install -d debian/tmp/etc/X11/twm
+ install -m 644 src/system.twmrc debian/tmp/etc/X11/twm/system.twmrc-menu
+ install -d debian/tmp/usr/share/xsessions
+ install -m 644 debian/twm.desktop debian/tmp/usr/share/xsessions/twm.desktop
+
+override_dh_install:
+ dh_install --list-missing