diff options
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..fe59e52 --- /dev/null +++ b/debian/rules @@ -0,0 +1,17 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# hardening +export DEB_BUILD_MAINT_OPTIONS = hardening=+all +export DEB_LDFLAGS_MAINT_APPEND = -Wl,--allow-multiple-definition + +%: + dh $@ + +override_dh_auto_configure: + dh_auto_configure -- \ + -DXTRKCAD_USE_GETTEXT=ON \ + -DXTRKCAD_USE_GTK=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr/ |