Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorDarafei Praliaskouski <komzpa@mapswith.me>2013-07-24 12:20:15 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:59:28 +0300
commit55ca5dbd86ee77972e60af4f7027002ab8d14801 (patch)
tree265663cc23fa9ad35c149dfb8935699ce30ddc48 /debian
parentd2a0d5a5cd88ef803a2e7cd675e983a7651600a7 (diff)
[debian] allow compiling packages in non-production config via MWM_BUILD_TYPE environment variable
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/rules6
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)))