diff options
author | Darafei Praliaskouski <komzpa@mapswith.me> | 2013-07-24 12:20:15 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:59:28 +0300 |
commit | 55ca5dbd86ee77972e60af4f7027002ab8d14801 (patch) | |
tree | 265663cc23fa9ad35c149dfb8935699ce30ddc48 /debian | |
parent | d2a0d5a5cd88ef803a2e7cd675e983a7651600a7 (diff) |
[debian] allow compiling packages in non-production config via MWM_BUILD_TYPE environment variable
Diffstat (limited to 'debian')
-rwxr-xr-x | debian/rules | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index be78dea55c..59d4b58614 100755 --- a/debian/rules +++ b/debian/rules @@ -12,7 +12,11 @@ %: dh $@ override_dh_auto_configure: - qmake -r CONFIG+=production omim.pro +ifndef MWM_BUILD_TYPE + qmake -r CONFIG+=production omim.pro +else + qmake -r CONFIG+=$(MWM_BUILD_TYPE) omim.pro +endif override_dh_auto_test: ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) |