summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-12-28 16:52:56 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-12-28 16:52:56 +0100
commit7b358424ebad9349421acd533c2fa1cbf6cf3e3e (patch)
tree686678532eefed525c242fd214d0cfb2914726c5 /debian/rules
Initial import of xtrkcad version 1:4.0.2-2
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..83de9ac
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,19 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+ dh $@ --parallel
+
+override_dh_auto_configure:
+ dh_auto_configure -- \
+ -DMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DXTRKCAD_USE_GETTEXT=ON \
+ -DXTRKCAD_USE_GTK=ON \
+ -DXTRKCAD_USE_GTK_CAIRO=ON \
+ -DXTRKCAD_USE_LAYOUTCONTROL=ON
+
+override_dh_install:
+ dh_install
+ rm -f debian/xtrkcad/usr/share/xtrkcad/COPYING