~ubuntu-branches/ubuntu/maverick/crossfire-maps-small/maverick

« back to all changes in this revision

Viewing changes to debian/rules.old

  • Committer: Bazaar Package Importer
  • Author(s): Kari Pahula
  • Date: 2005-10-08 08:32:13 UTC
  • Revision ID: james.westby@ubuntu.com-20051008083213-p3754qumltwfym3t
Tags: 1.5.0-2
Added missing build-dep debhelper. (Closes: #332704)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
# MAde with the aid of dh_make, by Craig Small
 
3
# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
 
4
# Some lines taken from debmake, by Cristoph Lameter.
 
5
 
 
6
# Uncomment this to turn on verbose mode.
 
7
#export DH_VERBOSE=1
 
8
 
 
9
build: build-stamp
 
10
build-stamp:
 
11
        dh_testdir
 
12
 
 
13
        touch build-stamp
 
14
 
 
15
clean:
 
16
        dh_testdir
 
17
        dh_testroot
 
18
        rm -f build-stamp install-stamp
 
19
        dh_clean
 
20
        -rm tmp
 
21
 
 
22
install: install-stamp
 
23
install-stamp: build-stamp
 
24
        dh_testdir
 
25
        dh_testroot
 
26
        dh_clean -k
 
27
        dh_installdirs
 
28
 
 
29
        # Add here commands to install the package into debian/tmp.
 
30
        sh debian/copy
 
31
        chmod 644 `pwd`/debian/tmp/usr/share/games/crossfire/maps/editor/walls/caves
 
32
        rm `pwd`/debian/tmp/usr/share/games/crossfire/maps/world/connect.pl
 
33
 
 
34
        touch install-stamp
 
35
 
 
36
# Build architecture-independent files here.
 
37
binary-indep: build install
 
38
        dh_testdir
 
39
        dh_testroot
 
40
        dh_installdocs
 
41
#       dh_installcron
 
42
        dh_installchangelogs 
 
43
        dh_strip
 
44
        dh_compress
 
45
#       chown games.games `pwd`/debian/tmp/usr/lib/crossfire -R
 
46
#       chown -R root.games `pwd`/debian/tmp/usr/share/games/crossfire
 
47
        find `pwd`/debian/tmp/usr/share/games/ -type f |xargs chmod 644
 
48
#       chmod -R ug+X `pwd`/debian/tmp/usr/share/games/crossfire
 
49
#       dh_suidregister
 
50
        dh_fixperms
 
51
        dh_installdeb
 
52
        dh_shlibdeps
 
53
        dh_gencontrol
 
54
        dh_md5sums
 
55
        dh_builddeb
 
56
 
 
57
# Build architecture-dependent files here.
 
58
binary-arch: build install
 
59
# We have nothing to do by default.
 
60
 
 
61
source diff:                                                                  
 
62
        @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
 
63
 
 
64
binary: binary-indep binary-arch
 
65
.PHONY: build clean binary-indep binary-arch binary