diff options
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 18 |
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 |