rules 974 Bytes
Newer Older
Kevin Rosenberg's avatar
Kevin Rosenberg committed
1
2
#!/usr/bin/make -f

Peter Van Eynde's avatar
Peter Van Eynde committed
3
4
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
Kevin Rosenberg's avatar
Kevin Rosenberg committed
5
6

build: build-stamp
Peter Van Eynde's avatar
Peter Van Eynde committed
7
build-stamp:
Kevin Rosenberg's avatar
Kevin Rosenberg committed
8
	dh_testdir
9
	make
10
	make -C doc all
Kevin Rosenberg's avatar
Kevin Rosenberg committed
11
12
	touch build-stamp

Francois-Rene Rideau's avatar
Francois-Rene Rideau committed
13
14
15
build-arch:
build-indep: build

Kevin Rosenberg's avatar
Kevin Rosenberg committed
16
17
18
clean:
	dh_testdir
	dh_testroot
Peter Van Eynde's avatar
Peter Van Eynde committed
19
	rm -f build-stamp
20
	make -C doc veryclean
Kevin Rosenberg's avatar
Kevin Rosenberg committed
21
22
	dh_clean

Peter Van Eynde's avatar
Peter Van Eynde committed
23
24
# Build architecture-dependent files here.
binary-arch: build
Kevin Rosenberg's avatar
Kevin Rosenberg committed
25
26
# We have nothing to do by default.

Peter Van Eynde's avatar
Peter Van Eynde committed
27
28
# Build architecture-independent files here.
binary-indep: build
Peter Van Eynde's avatar
Peter Van Eynde committed
29
30
	dh_testdir -i
	dh_testroot -i
Peter Van Eynde's avatar
Peter Van Eynde committed
31
	dh_prep -i
32
	chmod +x test/run-tests.sh
Peter Van Eynde's avatar
Peter Van Eynde committed
33
34
	dh_installdirs -i
	dh_install -i
35
	#dh_lisp -i
Peter Van Eynde's avatar
Peter Van Eynde committed
36
	dh_installdocs -i
37
	dh_installinfo -i
Peter Van Eynde's avatar
Peter Van Eynde committed
38
	dh_installexamples -i
39
	dh_installchangelogs
Peter Van Eynde's avatar
Peter Van Eynde committed
40
41
42
43
44
45
46
47
48
	dh_link --verbose -i
	dh_strip -i
	dh_compress -i
	dh_fixperms -i
	dh_installdeb -i
	dh_shlibdeps -i
	dh_gencontrol -i
	dh_md5sums -i
	dh_builddeb -i
Kevin Rosenberg's avatar
Kevin Rosenberg committed
49

50
source diff:
Peter Van Eynde's avatar
Peter Van Eynde committed
51
52
	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false

Kevin Rosenberg's avatar
Kevin Rosenberg committed
53
binary: binary-indep binary-arch
Peter Van Eynde's avatar
Peter Van Eynde committed
54
.PHONY: build clean binary-indep binary-arch binary