Initial import
[aperez-sandbox:harmattan-plugin-desaturate.git] / debian / rules
1 #! /usr/bin/make -f
2
3 # export DH_VERBOSE = 1
4
5 # Teach qmake about CFLAGS, poor qmake doesn't know about it...
6 #
7 QMAKE_OPTIONS += QMAKE_CXXFLAGS_RELEASE='$(CFLAGS)' \
8                                                                  QMAKE_CXXFLAGS_DEBUG='$(CFLAGS)' \
9                                                                  QMAKE_CFLAGS_RELEASE='$(CFLAGS)' \
10                                                                  QMAKE_CFLAGS_DEBUG='$(CFLAGS)' \
11                                                                  QMAKE_STRIP=: \
12                                                                  PREFIX=/usr
13
14 %:
15         dh --buildsystem=qmake $@
16
17 override_dh_auto_configure:
18         qmake $(QMAKE_OPTIONS)
19
20 override_dh_strip:
21         dh_strip --dbg-package=gallery-plugin-desaturate-dbg
22
23 .PHONY: override_dh_auto_configure override_dh_strip
24