mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-17 00:04:02 -04:00
fix debian builds
This commit is contained in:
parent
6f378682b0
commit
eea57cfc2a
10
debian/rules
vendored
10
debian/rules
vendored
@ -54,8 +54,13 @@ CMAKE_OPTS := \
|
||||
|
||||
MAKEFLAGS += VERBOSE=YES
|
||||
|
||||
ifneq (,$(findstring $(DISTRIBUTION),"squeeze lucid"))
|
||||
CMAKE_OPTS += -D WITH_STAGED_PLUGINS=FALSE
|
||||
endif
|
||||
|
||||
ifeq (,$(findstring $(DISTRIBUTION),"squeeze lucid maverick natty oneiric"))
|
||||
QT_PLUGIN_DIR = usr/lib/$(DEB_BUILD_GNU_TYPE)/qt4/plugins
|
||||
DEB_BUILD_MULTIARCH ?= $(shell dpkg-architecture -qDEB_BUILD_MULTIARCH)
|
||||
QT_PLUGIN_DIR = usr/lib/$(DEB_BUILD_MULTIARCH)/qt4/plugins
|
||||
else
|
||||
QT_PLUGIN_DIR = usr/lib/qt4/plugins
|
||||
endif
|
||||
@ -80,7 +85,6 @@ else
|
||||
endif
|
||||
|
||||
ifneq (,$(findstring $(DISTRIBUTION),"raring"))
|
||||
DEB_BUILD_MULTIARCH ?= $(shell dpkg-architecture -qDEB_BUILD_MULTIARCH)
|
||||
CMAKE_OPTS += -D PYTHON_LIBRARY=/usr/lib/$(DEB_BUILD_MULTIARCH)/libpython2.7.so
|
||||
endif
|
||||
|
||||
@ -112,7 +116,7 @@ ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
|
||||
endif
|
||||
|
||||
ifneq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
|
||||
CMAKE_OPTS += -D ENABLE_TESTS=TRUE
|
||||
CMAKE_OPTS += -D ENABLE_TESTS=FALSE
|
||||
endif
|
||||
|
||||
ifneq (,$(findstring profile,$(DEB_BUILD_OPTIONS)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user