File: rules

package info (click to toggle)
hostname 2.07
  • links: PTS
  • area: main
  • in suites: potato
  • size: 172 kB
  • ctags: 40
  • sloc: ansic: 454; makefile: 112; sh: 11
file content (38 lines) | stat: -rwxr-xr-x 571 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
38
#!/usr/bin/make -f

build:
	$(MAKE)
	touch $@

clean:
	rm -f build
	-$(MAKE) clean
	dh_clean
	rm -rf core

binary-indep: build

binary-arch: checkroot build
	dh_testdir -a
	dh_testroot -a
	dh_clean -k -a
	dh_installdirs -a

	$(MAKE) install BASEDIR=`pwd`/debian/tmp;
	dh_installdocs -a
	dh_installchangelogs -a
	dh_compress -a
	dh_shlibdeps -a
	dh_fixperms -a
	dh_installdeb -a
	dh_md5sums -a
#	debstd -m
	dh_gencontrol -a
	dh_builddeb -a


# Below here is fairly generic really

binary:		binary-indep binary-arch

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