File: rules

package info (click to toggle)
tendra 4.1.2-6
  • links: PTS
  • area: main
  • in suites: potato
  • size: 31,168 kB
  • ctags: 56,482
  • sloc: ansic: 437,455; perl: 8,005; sh: 1,802; cpp: 1,202; makefile: 976; asm: 120; sed: 18
file content (61 lines) | stat: -rwxr-xr-x 1,296 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/usr/bin/make -f
# Made with the aid of dh_make, by Craig Small
# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
# Also some stuff taken from debmake scripts, by Cristopt Lameter.

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

# Note that build does much of what would normally be done by install
build: build-stamp
build-stamp:
	dh_testdir
	dh_clean -k
	dh_installdirs

	./INSTALL

	touch build-stamp

install: install-stamp
install-stamp:
	/bin/sh ./debian/fixup.sh
	
	touch install-stamp

clean:
	dh_testdir
	dh_testroot
	rm -f build-stamp install-stamp

	rm -rf ./debian/tmp ./work
	find . -name '*~' -exec rm '{}' ';'

	dh_clean

binary-indep: build

# Build architecture-dependent files here.
binary-arch: build install
#	dh_testversion
	dh_testdir -a
	dh_testroot -a
	dh_installdocs -a
	dh_installexamples -a
	dh_installmenu -a
	dh_installmanpages -a
	dh_installchangelogs -a 
	dh_strip -a
	dh_compress -a
	dh_fixperms -a
	dh_installdeb -a
	dh_shlibdeps -a
	dh_gencontrol -a
	dh_md5sums -a
	dh_builddeb -a

source diff:                                                                  
	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false

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