File: rules

package info (click to toggle)
mtrack 0.3-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 972 kB
  • ctags: 414
  • sloc: ansic: 4,898; makefile: 86
file content (46 lines) | stat: -rwxr-xr-x 850 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
39
40
41
42
43
44
45
46
#!/usr/bin/make -f
# Made with the aid of debmake, by Christoph Lameter,
# based on the sample debian/rules file for GNU hello by Ian Jackson.

build:
	dh_testdir
	make
	touch build

clean:
	dh_testdir
	-rm -f build
	-make clean
	-rm -f `find . -name "*~"`
	-rm -rf debian/mtrack debian/files* core debian/substvars
	dh_clean

binary-indep:	build
	dh_testdir
# There are no architecture-independent files to be uploaded
# generated by this package.  If there were any they would be
# made here.

binary-arch:	build
	dh_testdir
	dh_clean
	dh_installdirs
	make install PREFIX=debian/mtrack

	dh_installdocs README TODO
	dh_installmenu
	dh_installchangelogs
	dh_strip
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_shlibdeps
	dh_gencontrol
	dh_makeshlibs
	dh_md5sums
	dh_builddeb

# Below here is fairly generic really

binary:		binary-indep binary-arch