summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Harpin <development@landsofshadow.co.uk>2015-06-27 18:20:47 +0100
committerAlex Harpin <development@landsofshadow.co.uk>2015-06-27 18:20:47 +0100
commit520bfdeba2086f330f3ad6d1cf9dc5947caac48e (patch)
tree522130b728ae4fe4c8555f7a2fb8c10ae8f8aeb4
parent3f1ec3a71882e798ca85aca11592fc4a9ade89cd (diff)
downloadvyos-opennhrp-520bfdeba2086f330f3ad6d1cf9dc5947caac48e.tar.gz
vyos-opennhrp-520bfdeba2086f330f3ad6d1cf9dc5947caac48e.zip
vyos-opennhrp: add dh_gencontrol to enable development builds
Add VyOS based dh_gencontrol settings to debian/rules to enable development builds (999.dev).
-rwxr-xr-xdebian/rules7
1 files changed, 7 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index b760bee..c9797a6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,3 +11,10 @@
%:
dh $@
+
+override_dh_gencontrol:
+ if [ -f "../.VYOS_DEV_BUILD" ]; then \
+ dh_gencontrol -- -v999.dev; \
+ else \
+ dh_gencontrol; \
+ fi \ No newline at end of file