File: rules

package info (click to toggle)
lugaru 1.2-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 39,728 kB
  • sloc: cpp: 29,640; ansic: 537; sh: 34; xml: 28; makefile: 14
file content (20 lines) | stat: -rwxr-xr-x 486 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/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)"

execute_after_dh_install:
	rm -f debian/tmp/usr/share/doc/lugaru/CONTENT-LICENSE.txt
	rm -f debian/tmp/usr/share/doc/lugaru/COPYING.txt