File: rules

package info (click to toggle)
greenbone-security-assistant 6.0.11%2Bdfsg.1-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 8,740 kB
  • ctags: 868
  • sloc: ansic: 23,157; xml: 776; sh: 338; python: 249; makefile: 20
file content (33 lines) | stat: -rwxr-xr-x 874 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
#!/usr/bin/make -f

include /usr/share/dpkg/architecture.mk

# Teach splint to find header files in multiarch path (workaround #675025)
export CPATH = /usr/include/$(DEB_HOST_MULTIARCH):/usr/include
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --parallel --with systemd

override_dh_auto_configure:
	dh_auto_configure -- -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONFDIR=/etc -DLOCALSTATEDIR=/var -DCMAKE_BUILD_TYPE=release
	ln -sf /usr/share/javascript/d3/d3.js src/html/classic/js/d3.v3.min.js

override_dh_install:
	dh_install --list-missing

override_dh_clean:
	dh_clean
	rm -rf src/html/classic/js/d3.v3.min.js

override_dh_auto_test:
	# disabled because make check fails

override_dh_strip:
	dh_strip --dbgsym-migration='greenbone-security-assistant (<< 6.0.10-1~)'

override_dh_installinit:
	dh_installinit --no-start

get-orig-source::
	-uscan --force-download