6f116eaeccfc80b934638eac1b957a5f16f80f21
[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-arch build-indep
9 build-arch: build-stamp
10 build-indep: build-stamp
11 build-stamp:
12         dh_testdir
13         $(MAKE)
14         touch build-stamp
15
16 clean:
17         dh_testdir
18         dh_testroot
19         rm -f build-stamp
20         [ ! -f Makefile ] || $(MAKE) clean
21         dh_clean
22
23 binary-indep: build
24
25 binary-arch: build
26         dh_testdir
27         dh_testroot
28         dh_clean -k
29         dh_installdirs
30
31         install -g root -m 755 -o root yforth debian/yforth/usr/bin/yforth
32
33         dh_installdocs
34         dh_installexamples
35         dh_installmenu
36         dh_installcron
37         dh_installman *.1
38         dh_installchangelogs
39         dh_strip
40         dh_compress
41         dh_fixperms
42         dh_installdeb
43         dh_shlibdeps
44         dh_gencontrol
45         dh_md5sums
46         dh_builddeb
47
48 source diff:                                                                  
49         @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
50
51 binary: binary-indep binary-arch
52 .PHONY: build clean binary-indep binary-arch binary build-arch build-indep