summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2008-11-19 11:05:10 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2008-11-19 11:05:10 -0800
commit4d5998811729ff98bf8dd64be5a9b8de644ca394 (patch)
tree88982e27d12d9c1a32e87ed45e95fe3d7e94c49a
parent95688529bec8f318f65e5fc8fe55fdc3aa70a57a (diff)
downloadvyatta-op-vpn-4d5998811729ff98bf8dd64be5a9b8de644ca394.tar.gz
vyatta-op-vpn-4d5998811729ff98bf8dd64be5a9b8de644ca394.zip
add support for development build
-rwxr-xr-xdebian/rules6
1 files changed, 5 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 77a5d1b..5215ff3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -89,7 +89,11 @@ binary-indep: build install
dh_compress
dh_fixperms
dh_installdeb
- dh_gencontrol
+ if [ -f "../.VYATTA_DEV_BUILD" ]; then \
+ dh_gencontrol -- -v999.dev; \
+ else \
+ dh_gencontrol; \
+ fi
dh_md5sums
dh_builddeb