Imported Debian patch 0.1beta-15
[debian/yforth] / debian / rules
1 #!/usr/bin/make -f
2 # Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
3
4 #       WARNING - the makefile for this package is not SMP-safe!  Don't try
5 #               to build this package with 'make -j'
6
7 # Uncomment this to turn on verbose mode.
8 export DH_VERBOSE=1
9
10 build: 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         -$(MAKE) clean
21         dh_clean
22
23 # Build architecture-independent files here.
24 binary-indep: build
25
26 # Build architecture-dependent files here.
27 binary-arch: build
28 #       dh_testversion
29         dh_testdir
30         dh_testroot
31         dh_clean -k
32         dh_installdirs
33
34         install -g root -m 755 -o root yforth debian/tmp/usr/bin/yforth
35
36         dh_installdocs
37         dh_installexamples
38         dh_installmenu
39 #       dh_installinit
40         dh_installcron
41         dh_installmanpages
42 #       dh_undocumented
43         dh_installchangelogs
44         dh_strip
45         dh_compress
46         dh_fixperms
47         dh_installdeb
48         dh_shlibdeps
49         dh_gencontrol
50 #       dh_makeshlibs
51         dh_md5sums
52         dh_builddeb
53
54 source diff:                                                                  
55         @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
56
57 binary: binary-indep binary-arch
58 .PHONY: build clean binary-indep binary-arch binary