File: rules

package info (click to toggle)
xiphos 4.1.0.1%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 18,572 kB
  • sloc: ansic: 25,543; cpp: 13,223; python: 12,684; xml: 2,951; sh: 144; makefile: 42
file content (34 lines) | stat: -rwxr-xr-x 759 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
#!/usr/bin/make -f

export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
# Hardening
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	./waf configure --nocache --prefix=/usr --enable-webkit-editor --gtk=3 --debug-level=release --enable-webkit2

override_dh_auto_build:
	./waf build --nocache --verbose

override_dh_auto_install:
	./waf install --nocache --destdir=debian/tmp

override_dh_installchangelogs:
	dh_installchangelogs ChangeLog

override_dh_missing:
	dh_missing --fail-missing

override_dh_strip:
	dh_strip --dbgsym-migration='xiphos-dbg (<< 4.0.5+dfsg1-1~)'

override_dh_auto_clean:
	./waf distclean --nocache

override_dh_clean:
	find . -name '*.pyc' -delete
	rm -f 'src/examples/ipc-interface.xml'
	dh_clean