ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/debian/rules
(Generate patch)

Comparing deliantra/server/debian/rules (file contents):
Revision 1.1 by root, Fri Feb 3 07:11:47 2006 UTC vs.
Revision 1.2 by pippijn, Tue Feb 27 11:58:40 2007 UTC

1#!/usr/bin/make -f 1#!/usr/bin/make -f
2 2
3# Uncomment this to turn on verbose mode. 3# Uncomment this to turn on verbose mode.
4export DH_VERBOSE=1 4export DH_VERBOSE=1
5
6MAKE=make -j5
5 7
6LIB_DIR = var/games/crossfire 8LIB_DIR = var/games/crossfire
7DATADIR = usr/share/games/crossfire 9DATADIR = usr/share/games/crossfire
8 10
9build: patch build-stamp 11build: patch build-stamp
10build-stamp: 12build-stamp:
11 dh_testdir 13 dh_testdir
12 14
13# What max debug info, so turn it on 15# What max debug info, so turn it on
14 CFLAGS="-g3" \ 16 CFLAGS="-g3" \
15 ./configure --prefix=/$(LIB_DIR) \ 17 sh autogen.sh --prefix=/$(LIB_DIR) \
16 --datadir=/usr/share/games \ 18 --datadir=/usr/share/games \
17 --bindir=/usr/games \ 19 --bindir=/usr/games \
18 --mandir=/usr/share/man \ 20 --mandir=/usr/share/man \
19 --localstatedir=/var/games \ 21 --localstatedir=/var/games \
20 --sysconfdir=/etc 22 --sysconfdir=/etc
29clean-patched: 31clean-patched:
30 dh_testdir 32 dh_testdir
31 dh_testroot 33 dh_testroot
32 -rm -f build-stamp 34 -rm -f build-stamp
33 -rm -f install-stamp 35 -rm -f install-stamp
34 -rm -rf debian/crossfire-server 36 -rm -rf debian/cfplus-server
35 37
36 # Add here commands to clean up after the build process. 38 # Add here commands to clean up after the build process.
37 -$(MAKE) distclean 39 -$(MAKE) distclean
38 40
39 dh_clean 41 dh_clean
67 69
68 # Clean up some 70 # Clean up some
69 -rm -f $(CURDIR)/debian/tmp/usr/games/crossloop.pl 71 -rm -f $(CURDIR)/debian/tmp/usr/games/crossloop.pl
70 -rm -f $(CURDIR)/debian/tmp/usr/games/player_dl.pl 72 -rm -f $(CURDIR)/debian/tmp/usr/games/player_dl.pl
71 73
72 cd doc && \ 74 #cd doc && \
73 $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp 75 #$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
74 76
75 dh_installdocs -A 77 #dh_installdocs -A
76 dh_installdocs -pcrossfire-doc 78 #dh_installdocs -pcfplus-doc
77 dh_install -i 79 dh_install -i
78 80
79# Build architecture-dependent files here. 81# Build architecture-dependent files here.
80binary-arch: 82binary-arch:
81 dh_testdir 83 dh_testdir
86 $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp 88 $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
87 89
88 cd server && \ 90 cd server && \
89 $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp 91 $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
90 92
91 cd plugin && \
92 $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
93
94 cd devel && \
95 $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
96
97 cd crossedit && \
98 $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
99 dh_movefiles -pcrossfire-edit
100
101 dh_installlogrotate 93 dh_installlogrotate
102 dh_installinit -r -- defaults 99 01 94 dh_installinit -r -- defaults 99 01
103 dh_installman 95 dh_installman
104 dh_strip --dbg-package=crossfire-server 96 dh_strip --dbg-package=cfplus-server
105 dh_compress 97 dh_compress
106 dh_fixperms 98 dh_fixperms
107 dh_makeshlibs -V 99 dh_makeshlibs -V
108 dh_installdeb 100 dh_installdeb
109 dh_gencontrol 101 dh_gencontrol

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines