File: rules

package info (click to toggle)
tatan 1.0.dfsg2-0.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,548 kB
  • sloc: xml: 57; makefile: 31
file content (31 lines) | stat: -rwxr-xr-x 521 bytes parent folder | download | duplicates (4)
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
26
27
28
29
30
31
#!/usr/bin/make -f

ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
	DFLAGS = -fdebug
else
	DFLAGS = -frelease
endif


%:
	dh $@

override_dh_auto_build:
	dh_auto_build -- DFLAGS="$(DFLAGS)"



get-orig-source:
	dh_testdir
	dh_testroot
	wget http://hizuoka.web.fc2.com/game/tatan/tatan.zip
	unzip tatan.zip
	rm tatan/*.dll
	rm tatan/*.exe
	rm tatan/lib/*.lib
	rm tatan/resource/*.RES
	rm `find tatan -name "*.obj"`
	rm tatan/music/*
	rm tatan/se/*
	tar cvfz ../tatan_1.0.dfsg1.orig.tar.gz tatan
	rm -rf tatan.zip tatan