aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorChristopher Roy Bratusek <nano@jpberlin.de>2014-10-05 20:16:42 +0200
committerChristopher Roy Bratusek <nano@jpberlin.de>2014-10-05 20:16:42 +0200
commitb3ee7109dd5c9cd21b219a758df45e0866936ffb (patch)
treef40cf1c32802d9bb2253352cf4eea2d8418ec79d /debian
parentAdd the template for the new LuminaThemes library class (not integrated into ... (diff)
downloadlumina-b3ee7109dd5c9cd21b219a758df45e0866936ffb.tar.gz
lumina-b3ee7109dd5c9cd21b219a758df45e0866936ffb.tar.bz2
lumina-b3ee7109dd5c9cd21b219a758df45e0866936ffb.zip
add global.h containing PREFIX and make use of it in all sub-modules,
add PREFIX and LIBPREFIX to the qmake .pro files (allows to change prefix and libdir using <qmake PREFIX=/usr LIBDIR=/usr/lib/x86_64-linux-gnu/> or whatever) update debian packaging scripts accordingly
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/rules18
1 files changed, 11 insertions, 7 deletions
diff --git a/debian/rules b/debian/rules
index af0d1ff9..8ff08a11 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,17 +8,21 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+DEB_PREF = $(shell gcc -print-multiarch)
+USER_QMAKE = "qmake-qt4 PREFIX=/usr LIBPREFIX=/usr/lib/$(DEB_PEF)"
+QMAKE_EXTRA_DIRS = libLumina \
+ lumina-config \
+ lumina-desktop \
+ lumina-fm \
+ lumina-open \
+ lumina-screenshot
+
%:
dh $@
build:
- qmake-qt4
- (cd libLumina && qmake-qt4)
- (cd lumina-config && qmake-qt4)
- (cd lumina-desktop && qmake-qt4)
- (cd lumina-fm && qmake-qt4)
- (cd lumina-open && qmake-qt4)
- (cd lumina-screenshot && qmake-qt4)
+ $(USER_QMAKE)
+ for d in $(QMAKE_EXTRA_DIRS) ; do (cd $$d $(USER_QMAKE)); done
override_dh_auto_clean:
-$(MAKE) distclean
bgstack15