diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2010-09-09 18:11:17 -0700 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2010-09-09 18:11:17 -0700 |
commit | 56279047de197e9fb79612b8771c0c6a32f7dc8a (patch) | |
tree | c657905106d685f2b69a3bb339e9a0f968d7a5ee | |
parent | 573e21e410934f2293d5ac4c738af5f77083b43b (diff) | |
download | initramfs-tools-56279047de197e9fb79612b8771c0c6a32f7dc8a.tar.gz initramfs-tools-56279047de197e9fb79612b8771c0c6a32f7dc8a.zip |
use new dh method for development build
-rwxr-xr-x | debian/rules | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/debian/rules b/debian/rules index 08a2fd4..816ada0 100755 --- a/debian/rules +++ b/debian/rules @@ -1,10 +1,12 @@ #!/usr/bin/make -f -DEB_DH_GENCONTROL_ARGS_ALL = $(shell if [ -f "../.VYATTA_DEV_BUILD" ]; then \ - echo "-- -v999.dev"; fi) - -pre-build:: - rm -f debian/files - %: dh $@ + +override_dh_gencontrol: + if [ -f "../.VYATTA_DEV_BUILD" ]; then \ + dh_gencontrol -- -v999.dev; \ + else \ + dh_gencontrol; \ + fi + |