File: rules

package info (click to toggle)
lugaru 1.2-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 39,728 kB
  • sloc: cpp: 29,640; ansic: 537; sh: 34; xml: 28; makefile: 11
file content (16 lines) | stat: -rwxr-xr-x 349 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DSYSTEM_INSTALL=ON \
		-DCMAKE_INSTALL_BINDIR=games \
		-DCMAKE_INSTALL_DATADIR=share/games \
		-DLUGARU_VERSION_RELEASE="Debian $(DEB_VERSION)"