File: rules

package info (click to toggle)
ktikz 0.12+ds1-3
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 5,152 kB
  • sloc: cpp: 10,024; xml: 701; sh: 131; makefile: 20
file content (39 lines) | stat: -rwxr-xr-x 1,061 bytes parent folder | download
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
32
33
34
35
36
37
38
39
#!/usr/bin/make -f

# Enable additional hardening options.
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

export QT_SELECT=5

%:
	dh $@ --with=kf5

QTBUILD=buildqt

override_dh_auto_clean:
	# Clean up the KDE build (cmake)
	dh_auto_clean -Skf5
	# Clean up the Qt build (qmake)
	dh_auto_clean -B$(QTBUILD) -Sqmake

override_dh_auto_configure:
	# configure the KDE version (cmake)
	dh_auto_configure -Skf5
	# configure the Qt version (qmake)
	dh_auto_configure -B$(QTBUILD) -Sqmake -- ../qtikz.pro

override_dh_auto_build:
	# build the KDE version (cmake)
	dh_auto_build -Skf5
	# build the Qt version (qmake)
	dh_auto_build -B$(QTBUILD) -Sqmake

override_dh_auto_install:
	# install the KDE version (cmake)
	dh_auto_install -Skf5 --destdir=debian/ktikz
	# install the Qt version (qmake)
	dh_auto_install -B$(QTBUILD) -Sqmake --destdir=debian/qtikz
	rm $(CURDIR)/debian/qtikz/usr/share/qtikz/LICENSE.GPL2

.PHONY: override_dh_auto_clean override_dh_auto_configure override_dh_auto_build override_dh_auto_install