~ubuntu-branches/debian/squeeze/openttd/squeeze

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Matthijs Kooijman, Matthijs Kooijman
  • Date: 2009-10-01 22:52:59 UTC
  • mfrom: (1.1.8 upstream) (2.1.6 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091001225259-5kpkp4sthbszpyif
[ Matthijs Kooijman ]
* New upstream release
* Use printf instead of echo -en in openttd-wrapper to make it POSIX
  compatible (Closes: #547758).
* Remove three patches that are now included in upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
2
# -*- makefile -*-
3
 
# Sample debian/rules that uses debhelper.
 
3
# Makefile to build the openttd debian package.
4
4
# GNU copyright 1997 to 1999 by Joey Hess.
5
5
 
6
6
# Uncomment this to turn on verbose mode.
7
7
#export DH_VERBOSE=1
8
8
 
9
 
configure: configure-stamp
 
9
include /usr/share/dpatch/dpatch.make
 
10
# Don't do parallel processing of this Makefile, this can break dpatch.
 
11
.NOTPARALLEL:
 
12
 
 
13
configure: patch configure-stamp
10
14
configure-stamp:
11
15
        dh_testdir
12
16
 
22
26
 
23
27
        touch build-stamp
24
28
 
25
 
clean:
 
29
clean: unpatch
26
30
        dh_testdir
27
31
        dh_testroot
28
32
        rm -f build-stamp configure-stamp
58
62
        dh_installchangelogs changelog.txt
59
63
        dh_installdocs
60
64
        dh_installexamples
61
 
        dh_desktop
 
65
        dh_lintian
 
66
        # Install the wrapper and make it executable
 
67
        install -d debian/openttd//usr/share/games/openttd/
 
68
        install -m755 debian/openttd-wrapper debian/openttd//usr/share/games/openttd/
62
69
        dh_installmenu
63
70
        dh_installdebconf
64
 
#       dh_installlogrotate
65
 
#       dh_installemacsen
66
 
#       dh_installpam
67
 
#       dh_installmime
68
 
#       dh_installinit
69
 
#       dh_installcron
70
 
#       dh_installinfo
71
71
        dh_installman docs/openttd.6
72
72
        dh_link
73
73
        dh_strip
74
74
        dh_compress
75
75
        dh_fixperms
76
 
#       dh_perl
77
 
#       dh_python
78
 
#       dh_makeshlibs
79
76
        dh_installdeb
80
77
        dh_shlibdeps
81
78
        dh_gencontrol
83
80
        dh_builddeb
84
81
 
85
82
binary: binary-indep binary-arch
86
 
.PHONY: build clean binary-indep binary-arch binary install configure
 
83
.PHONY: build clean binary-indep binary-arch binary install configure patch