make lintian happier
[debian/yforth] / debian / rules
1 #!/usr/bin/make -f
2
3 #       WARNING - the makefile for this package is not SMP-safe!  Don't try
4 #               to build this package with 'make -j'
5
6 export DH_VERBOSE=1
7
8 build: build-stamp
9 build-stamp:
10         dh_testdir
11         $(MAKE)
12         touch build-stamp
13
14 clean:
15         dh_testdir
16         dh_testroot
17         rm -f build-stamp
18         [ ! -f Makefile ] || $(MAKE) clean
19         dh_clean
20
21 binary-indep: build
22
23 binary-arch: build
24         dh_testdir
25         dh_testroot
26         dh_clean -k
27         dh_installdirs
28
29         install -g root -m 755 -o root yforth debian/yforth/usr/bin/yforth
30
31         dh_installdocs
32         dh_installexamples
33         dh_installmenu
34         dh_installcron
35         dh_installman *.1
36         dh_installchangelogs
37         dh_strip
38         dh_compress
39         dh_fixperms
40         dh_installdeb
41         dh_shlibdeps
42         dh_gencontrol
43         dh_md5sums
44         dh_builddeb
45
46 source diff:                                                                  
47         @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
48
49 binary: binary-indep binary-arch
50 .PHONY: build clean binary-indep binary-arch binary