File: rules

package info (click to toggle)
netris 0.52-11
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 504 kB
  • sloc: ansic: 7,657; makefile: 14
file content (23 lines) | stat: -rwxr-xr-x 391 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
#DH_VERBOSE = 1

-include /usr/share/dpkg/buildtools.mk

%:
	dh $@


override_dh_clean:
	-rm -rf config.h .depend
	dh_clean
	-rm -f Makefile

override_dh_auto_configure:
	./Configure -g --cc $(CC)

override_dh_installdirs:
	dh_installdirs
	cp sr debian/netris/usr/games/netris-sample-robot

override_dh_auto_build:
	dh_auto_build -- CEXTRA="-ffile-prefix-map=$(CURDIR)=."