File: rules

package info (click to toggle)
iproute 20061002-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 2,344 kB
  • ctags: 3,791
  • sloc: ansic: 29,692; sh: 2,950; cpp: 631; yacc: 339; makefile: 337; lex: 145; perl: 101
file content (44 lines) | stat: -rwxr-xr-x 754 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
#!/usr/bin/make -f

# created by Andreas Barth <aba@not.so.argh.org> 2004

build: build-arch

include /usr/share/dpatch/dpatch.make

clean: clean-patched unpatch
clean-patched:
	-rm stamp-build
	dh_testdir
	dh_testroot
	dh_clean
	make clean

binary: binary-indep binary-arch

binary-indep build-indep:

binary-arch: build-arch
	dh_testdir
	dh_testroot
	dh_install --fail-missing
	dh_link
	dh_installexamples -p iproute-doc examples/*
	dh_installman
	dh_installdocs
	dh_installchangelogs
	dh_compress
	dh_strip
	dh_fixperms
	dh_installdeb
	dh_shlibdeps
	dh_gencontrol
	dh_builddeb

build-arch: stamp-build
stamp-build: patch
	$(MAKE) KERNEL_INCLUDE=./include
	$(MAKE) -C doc all txt
	touch stamp-build

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