aboutsummaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules15
1 files changed, 14 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 64ddd45..c3d7b43 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,18 @@
#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+# export DH_VERBOSE=1
+
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
+export BARRIER_VERSION_STAGE=Release
%:
- dh $@ --buildsystem=cmake --builddirectory=build -Pbuild/debian --parallel
+ dh $@ --builddirectory=builddir
+override_dh_auto_configure:
+ dh_auto_configure -- -DBARRIER_REVISION=00000000