File: rules

package info (click to toggle)
kvantum 1.1.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,336 kB
  • sloc: cpp: 64,275; makefile: 17
file content (25 lines) | stat: -rwxr-xr-x 612 bytes parent folder | download | duplicates (2)
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
#!/usr/bin/make -f
# export DH_VERBOSE=1

export LC_ALL=C.UTF-8
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh ${@} --sourcedirectory=Kvantum --buildsystem cmake

override_dh_auto_configure:
	dh_auto_configure -- \
		-DCMAKE_BUILD_TYPE=RelWithDebInfo
	dh_auto_configure --builddirectory=qt5build -- \
		-DENABLE_QT5=ON \
		-DCMAKE_BUILD_TYPE=RelWithDebInfo

execute_after_dh_auto_build:
	dh_auto_build --builddirectory=qt5build

execute_after_dh_auto_install:
	dh_auto_install --builddirectory=qt5build -Pdebian/qt-style-kvantum \
		-p qt-style-kvantum

execute_before_dh_auto_clean:
	rm -rf ./qt5build