File: rules

package info (click to toggle)
2048 1.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 136 kB
  • sloc: ansic: 499; makefile: 35
file content (17 lines) | stat: -rwxr-xr-x 358 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

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

P2M := pod2man --section 6 --utf8 --center 'Games Manual' --release $(DEB_VERSION_UPSTREAM)
POD := debian/2048.pod
MAN := 2048.6
PNG := 2048.png

%:
	dh $@

execute_before_dh_install:
	test -e $(PNG) || cp -p debian_$(PNG) $(PNG)

execute_before_dh_installman:
	test -e $(MAN) || $(P2M) $(POD) $(MAN)