summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2008-11-19 11:04:58 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2008-11-19 11:04:58 -0800
commit738c999421c9676d8d1fe2db330c5e8b9766bda6 (patch)
treef1a6609f33609a132b7dc9a7df3b9cafe6276993
parentd65bc46a92e6433e59736c13f99ef33824341f8b (diff)
downloadvyatta-bash-738c999421c9676d8d1fe2db330c5e8b9766bda6.tar.gz
vyatta-bash-738c999421c9676d8d1fe2db330c5e8b9766bda6.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 17de8e8..a4b634e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -143,7 +143,11 @@ binary-bash: bash-install
dh_fixperms -p$(p)
dh_shlibdeps -p$(p) -- -dPre-Depends $(d)/bin/vbash
dh_installdeb -p$(p)
- dh_gencontrol -p$(p)
+ if [ -f "../.VYATTA_DEV_BUILD" ]; then \
+ dh_gencontrol -p$(p) -- -v999.dev; \
+ else \
+ dh_gencontrol -p$(p); \
+ fi
dh_md5sums -p$(p)
dh_builddeb -p$(p)