File: rules

package info (click to toggle)
freedoom 0.11.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 46,584 kB
  • ctags: 284
  • sloc: python: 2,221; makefile: 385; xml: 131; sh: 115
file content (25 lines) | stat: -rwxr-xr-x 467 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
24
25
#!/usr/bin/make -f

VERSION := $(shell dpkg-parsechangelog | sed -n 's/^Version: //p')
export VERSION

# upstream makefile invokes 'deutex' which lives in
# /usr/games
PATH := /usr/games:$(PATH)
export PATH

%:
	dh $@ --parallel

override_dh_auto_build:
	dh_auto_build -- all doc \
		VERSION=$(VERSION)

override_dh_auto_install:
	dh_auto_install -- \
		prefix=/usr \
		bindir=/games \
		VERSION=$(VERSION)

override_dh_installdocs:
	dh_installdocs -A CREDITS *.html