File: rules

package info (click to toggle)
gsad 24.12.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,796 kB
  • sloc: ansic: 22,523; xml: 118; makefile: 10
file content (17 lines) | stat: -rwxr-xr-x 418 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all


%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONFDIR=/etc -DLOCALSTATEDIR=/var -DCMAKE_BUILD_TYPE=release -DGSAD_PID_DIR=/run/gsad -DSYSTEMD_SERVICE_DIR=/usr/lib/systemd/system

override_dh_auto_install:
	dh_auto_install
	rm -rf debian/gsad/run/

override_dh_installinit:
	dh_installinit --no-start