File: rules

package info (click to toggle)
chocolate-doom 3.0.1%2Breally3.0.0%2Bgit1471-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 11,872 kB
  • sloc: ansic: 220,535; makefile: 955; objc: 951; python: 681; sh: 85; xml: 7
file content (23 lines) | stat: -rwxr-xr-x 813 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --with bash-completion

override_dh_auto_install:
	dh_auto_install --max-parallel=1 -- \
		SETUP_BINARIES=chocolate-setup \
		DOC_FILES="README.md README.Music.md PHILOSOPHY.md TODO.md" \
		execgamesdir=/usr/games \
		appdatadir=/usr/share/metainfo
	# superfluous docs
	rm -f debian/chocolate-doom/usr/share/doc/chocolate-doom/CMDLINE.doom \
	      debian/chocolate-doom/usr/share/doc/chocolate-doom/INSTALL.doom \
	      debian/chocolate-doom/usr/share/doc/chocolate-doom/NOT-BUGS.md
	rm -rf debian/chocolate-doom/usr/share/doc/chocolate-heretic \
	       debian/chocolate-doom/usr/share/doc/chocolate-hexen \
	       debian/chocolate-doom/usr/share/doc/chocolate-strife

override_dh_installchangelogs:
	dh_installchangelogs NEWS.md