author | Darkvater |
Sun, 26 Mar 2006 22:41:56 +0000 | |
changeset 3346 | a0d4def7d934 |
parent 3170 | 3740e285e4df |
child 5356 | 0d5d19f88ad1 |
permissions | -rwxr-xr-x |
285 | 1 |
#!/usr/bin/make -f |
2 |
# -*- makefile -*- |
|
3 |
# Sample debian/rules that uses debhelper. |
|
4 |
# GNU copyright 1997 to 1999 by Joey Hess. |
|
5 |
||
6 |
# Uncomment this to turn on verbose mode. |
|
7 |
#export DH_VERBOSE=1 |
|
8 |
||
3170
3740e285e4df
(svn r3801) * Update debian packaging files to the ones used for releasing 0.4.5 (see os/debian/changelog for details).
matthijs
parents:
1865
diff
changeset
|
9 |
include /usr/share/dpatch/dpatch.make |
285 | 10 |
|
3170
3740e285e4df
(svn r3801) * Update debian packaging files to the ones used for releasing 0.4.5 (see os/debian/changelog for details).
matthijs
parents:
1865
diff
changeset
|
11 |
configure: patch configure-stamp |
285 | 12 |
configure-stamp: |
13 |
dh_testdir |
|
14 |
# Add here commands to configure the package. |
|
15 |
||
16 |
touch configure-stamp |
|
17 |
||
18 |
||
19 |
build: build-stamp |
|
3170
3740e285e4df
(svn r3801) * Update debian packaging files to the ones used for releasing 0.4.5 (see os/debian/changelog for details).
matthijs
parents:
1865
diff
changeset
|
20 |
build-stamp: configure-stamp |
285 | 21 |
dh_testdir |
22 |
||
23 |
# Add here commands to compile the package. |
|
24 |
||
1865
739183b1243a
(svn r2371) - Fix: [ 1144510 ] make install tries to install scenarios in the (non-existing) personal dir when USE_HOMEDIR is specified.
matthijs
parents:
1143
diff
changeset
|
25 |
rm Makefile.config || true |
3170
3740e285e4df
(svn r3801) * Update debian packaging files to the ones used for releasing 0.4.5 (see os/debian/changelog for details).
matthijs
parents:
1865
diff
changeset
|
26 |
$(MAKE) PREFIX=/usr MIDI=/usr/bin/timidity INSTALL=1 BINARY_DIR=games DATA_DIR=share/games/openttd ICON_DIR=share/pixmaps PERSONAL_DIR=.openttd USE_HOMEDIR=1 |
285 | 27 |
|
28 |
#/usr/bin/docbook-to-man debian/openttd.sgml > openttd.1 |
|
29 |
||
30 |
touch build-stamp |
|
31 |
||
3170
3740e285e4df
(svn r3801) * Update debian packaging files to the ones used for releasing 0.4.5 (see os/debian/changelog for details).
matthijs
parents:
1865
diff
changeset
|
32 |
clean: unpatch |
285 | 33 |
dh_testdir |
34 |
dh_testroot |
|
35 |
rm -f build-stamp configure-stamp |
|
36 |
||
37 |
# Add here commands to clean up after the build process. |
|
38 |
-$(MAKE) clean |
|
1143
5879a8637190
(svn r1644) - Some minor corrections to the os/debian dir.
matthijs
parents:
680
diff
changeset
|
39 |
rm Makefile.config || true |
285 | 40 |
|
41 |
dh_clean |
|
42 |
||
43 |
install: build |
|
44 |
dh_testdir |
|
45 |
dh_testroot |
|
46 |
dh_clean -k |
|
47 |
dh_installdirs |
|
48 |
||
49 |
# Add here commands to install the package into debian/openttd. |
|
50 |
$(MAKE) DEST_DIR=debian/openttd install |
|
51 |
||
52 |
# Build architecture-independent files here. |
|
53 |
binary-indep: build install |
|
54 |
# We have nothing to do by default. |
|
55 |
||
56 |
# Build architecture-dependent files here. |
|
57 |
binary-arch: build install |
|
58 |
dh_testdir |
|
59 |
dh_testroot |
|
60 |
dh_installchangelogs changelog.txt |
|
61 |
dh_installdocs |
|
62 |
dh_installexamples |
|
63 |
# dh_install |
|
1143
5879a8637190
(svn r1644) - Some minor corrections to the os/debian dir.
matthijs
parents:
680
diff
changeset
|
64 |
dh_installmenu |
3170
3740e285e4df
(svn r3801) * Update debian packaging files to the ones used for releasing 0.4.5 (see os/debian/changelog for details).
matthijs
parents:
1865
diff
changeset
|
65 |
dh_installdebconf |
285 | 66 |
# dh_installlogrotate |
67 |
# dh_installemacsen |
|
68 |
# dh_installpam |
|
69 |
# dh_installmime |
|
70 |
# dh_installinit |
|
71 |
# dh_installcron |
|
72 |
# dh_installinfo |
|
73 |
dh_installman docs/openttd.6 |
|
74 |
dh_link |
|
75 |
dh_strip |
|
76 |
dh_compress |
|
77 |
dh_fixperms |
|
78 |
# dh_perl |
|
79 |
# dh_python |
|
80 |
# dh_makeshlibs |
|
81 |
dh_installdeb |
|
82 |
dh_shlibdeps |
|
83 |
dh_gencontrol |
|
84 |
dh_md5sums |
|
85 |
dh_builddeb |
|
86 |
||
87 |
binary: binary-indep binary-arch |
|
88 |
.PHONY: build clean binary-indep binary-arch binary install configure |