File: rules

package info (click to toggle)
a7xpg 0.11.dfsg1-10
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 4,864 kB
  • sloc: xml: 56; makefile: 28
file content (28 lines) | stat: -rwxr-xr-x 473 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
28
#!/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/a7xpg0_11.zip
	unzip a7xpg0_11.zip
	rm a7xpg/*.dll
	rm a7xpg/*.exe
	rm a7xpg/lib/*.lib
	rm a7xpg/resource/*.RES
	tar cvfz ../a7xpg_0.11.dfsg1.orig.tar.gz a7xpg
	rm -rf a7xpg.zip a7xpg