File: rules

package info (click to toggle)
skrooge 2.18.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 103,364 kB
  • sloc: cpp: 74,644; python: 1,023; sh: 964; xml: 499; makefile: 13
file content (23 lines) | stat: -rwxr-xr-x 518 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
#!/usr/bin/make -f

export DEB_LDFLAGS_MAINT_APPEND := -Wl,--as-needed

%:
	dh $@ --with kf5,python3

override_dh_auto_configure:
	dh_auto_configure --buildsystem=kf5 -- -DSKG_BUILD_TEST=OFF -DSKG_DESIGNER=OFF

override_dh_auto_test:

override_dh_auto_install:
	dh_auto_install --buildsystem=kf5

	# remove .so symlinks, useless without headers
	find debian/tmp -name '*.so' -type l -print -delete

override_dh_missing:
	dh_missing --fail-missing

override_dh_python3:
	dh_python3 -p skrooge-common /usr/share/skrooge