File: rules

package info (click to toggle)
titanion 0.3.dfsg1-5
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 6,452 kB
  • ctags: 5
  • sloc: xml: 68; makefile: 28
file content (27 lines) | stat: -rwxr-xr-x 457 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
26
27
#!/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://www.asahi-net.or.jp/~cs8k-cyu/windows/ttn0_3.zip
	unzip ttn0_3.zip
	rm ttn/*.dll
	rm ttn/*.exe
	rm ttn/lib/*.lib
	rm ttn/resource/*.RES
	tar cvfz ../titanion_0.3.dfsg1.orig.tar.gz ttn
	rm -rf ttn0_3.zip ttn