]> git.deb.at Git - pkg/netris.git/blob - debian/rules
Imported Debian patch 0.4-3
[pkg/netris.git] / debian / rules
1 #!/usr/bin/make -f
2 # Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
3
4 # Uncomment this to turn on verbose mode.
5 #export DH_VERBOSE=1
6
7 build: build-stamp
8 build-stamp:
9         dh_testdir
10
11         # Add here commands to compile the package.
12         ./Configure -O2
13         make
14
15         touch build-stamp
16
17 clean:
18         dh_testdir
19         dh_testroot
20         rm -f build-stamp
21
22         # Add here commands to clean up after the build process.
23         $(MAKE) clean
24
25         dh_clean
26
27 # Build architecture-independent files here.
28 binary-indep: build
29 # We have nothing to do by default.
30
31 # Build architecture-dependent files here.
32 binary-arch: build
33 #       dh_testversion
34         dh_testdir
35         dh_testroot
36         dh_clean -k
37         dh_installdirs
38
39         # Add here commands to install the files into debian/tmp
40         install -s netris debian/tmp/usr/games
41         install -s sr debian/tmp/usr/games/netris-sample-robot
42
43         dh_installdocs FAQ robot_desc
44         dh_installexamples sr.c
45         dh_installmenu
46         dh_installmanpages
47         dh_undocumented netris.1 netris-sample-robot.1
48         dh_installchangelogs
49         dh_strip
50         dh_compress
51         dh_fixperms
52         dh_installdeb
53         dh_shlibdeps
54         dh_gencontrol
55         dh_md5sums
56         dh_builddeb
57
58 source diff:                                                                  
59         @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
60
61 binary: binary-indep binary-arch
62 .PHONY: build clean binary-indep binary-arch binary