summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules19
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..c401a4b
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,19 @@
+#!/usr/bin/make -f
+
+include /usr/share/dpkg/buildtools.mk
+
+%:
+ dh ${@}
+
+override_dh_auto_configure:
+ dh_auto_configure -- --exec-prefix=/ CXX=$(CXX)
+
+override_dh_auto_install:
+ dh_auto_install -- DESTDIR=$(CURDIR)/debian/zutils
+
+execute_after_dh_auto_install:
+ # removing unused files
+ rm -f debian/zutils/usr/share/info/dir*
+
+override_dh_auto_test:
+ # disabled