File: rules

package info (click to toggle)
randtype 1.13-11.2
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 140 kB
  • sloc: ansic: 1,059; makefile: 40
file content (23 lines) | stat: -rwxr-xr-x 402 bytes parent folder | download
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

include /usr/share/dpkg/buildflags.mk

%:
	dh $@

override_dh_clean:
	dh_clean
	rm -f randtype.1

override_dh_auto_build:
	dh_auto_build -- CFLAGS="${CFLAGS}" LIBS="-lz ${LDFLAGS}"

binary-arch: build
override_dh_auto_install:
	dh_install randtype usr/games/

override_dh_installman:
	gunzip randtype.1.gz -c > randtype.1
	sed -i 's/\B-/\\-/g' randtype.1
	dh_installman randtype.1