~ubuntu-branches/ubuntu/hoary/xpilot-extra/hoary

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Ben Armstrong
  • Date: 2001-12-18 13:43:32 UTC
  • Revision ID: james.westby@ubuntu.com-20011218134332-t87rvhcp1hhrnx3b
Tags: 4.4.3
Fixed build dep to use -Indep.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
# Adapted from sample debian/rules that uses debhelper
 
3
# Original by Joey Hess; GNU copyright 1997
 
4
# Modified by Matt Kern; GNU copyright 1999
 
5
# Last updated 26/5/1999
 
6
 
 
7
 
 
8
# Uncomment this to turn on verbose mode.
 
9
#export DH_VERBOSE=1
 
10
 
 
11
 
 
12
pwd = $(shell pwd)
 
13
 
 
14
 
 
15
build: build-stamp
 
16
build-stamp:
 
17
        dh_testdir
 
18
        touch build-stamp
 
19
 
 
20
 
 
21
clean:
 
22
        dh_testdir
 
23
        dh_testroot
 
24
        rm -f build-stamp install-stamp
 
25
        dh_clean
 
26
 
 
27
 
 
28
install: install-stamp
 
29
install-stamp: build-stamp
 
30
        dh_testdir
 
31
        dh_testroot
 
32
        dh_clean -k
 
33
        dh_installdirs
 
34
 
 
35
        install -g 0 -o 0 -m 644 sounds/* \
 
36
          debian/tmp/usr/share/games/xpilot/sound
 
37
 
 
38
        install -g 0 -o 0 -m 644 maps/* \
 
39
          debian/tmp/usr/share/games/xpilot/maps
 
40
 
 
41
        install -g 0 -o 0 -m 755 metapilot debian/tmp/usr/games
 
42
 
 
43
        touch install-stamp
 
44
 
 
45
 
 
46
# Build architecture-independent files here.
 
47
binary-indep: build install
 
48
#       dh_testversion
 
49
        dh_testdir
 
50
        dh_testroot
 
51
        dh_installdocs
 
52
        dh_installexamples
 
53
        dh_installmenu
 
54
#       dh_installemacsen
 
55
#       dh_installinit
 
56
        dh_installcron
 
57
        dh_installmanpages
 
58
#       dh_undocumented
 
59
        dh_installchangelogs
 
60
        dh_compress -X=.xpilotrc
 
61
        dh_fixperms
 
62
        dh_installdeb
 
63
        dh_gencontrol
 
64
        dh_md5sums
 
65
        dh_builddeb
 
66
 
 
67
 
 
68
# Build architecture-dependent files here.
 
69
binary-arch: build install
 
70
# We have nothing to do by default.
 
71
 
 
72
 
 
73
source diff:                                                                  
 
74
        @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
 
75
 
 
76
 
 
77
binary: binary-indep binary-arch
 
78
.PHONY: build clean binary-indep binary-arch binary install