fix debian builds

This commit is contained in:
Juergen E. Fischer 2013-02-20 23:53:06 +01:00
parent 6f378682b0
commit eea57cfc2a

10
debian/rules vendored
View File

@ -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)))