aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
blob: af0d1ff99b317a9cc8811ee69712323ec1c5bd64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/usr/bin/make -f
DH_VERBOSE = 1

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

%:
	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)

override_dh_auto_clean:
	-$(MAKE) distclean
	-find $(CURDIR) -name *.qm | xargs rm

override_dh_strip:
	dh_strip -a --dbg-package=libluminautils-dbg

override_dh_auto_install:
	INSTALL_ROOT=$(CURDIR)/debian/tmp/ $(MAKE) install
bgstack15