File: rules

package info (click to toggle)
mcvert 2.16-9
  • links: PTS
  • area: non-free
  • in suites: woody
  • size: 164 kB
  • ctags: 218
  • sloc: ansic: 1,699; makefile: 80
file content (37 lines) | stat: -rwxr-xr-x 565 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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/usr/bin/make -f

export DH_COMPAT=1

build:
	dh_testdir
	$(MAKE) all
	touch $@

clean:
	dh_testdir
	dh_testroot
	$(MAKE) clean
	dh_clean build

binary-indep:

binary-arch: build
	dh_testdir
	dh_testroot
	dh_clean -k
	dh_installdirs usr/bin
	install -m755 mcvert debian/tmp/usr/bin
	dh_installdocs README README-conversion mcvert.idraw
	dh_installmanpages
	dh_installchangelogs
	dh_strip
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_shlibdeps
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary: binary-indep binary-arch
.PHONY: clean binary binary-indep binary-arch