--- deliantra/server/debian/rules 2006/02/03 07:11:47 1.1.1.1 +++ deliantra/server/debian/rules 2007/02/27 11:58:40 1.2 @@ -3,6 +3,8 @@ # Uncomment this to turn on verbose mode. export DH_VERBOSE=1 +MAKE=make -j5 + LIB_DIR = var/games/crossfire DATADIR = usr/share/games/crossfire @@ -12,7 +14,7 @@ # What max debug info, so turn it on CFLAGS="-g3" \ - ./configure --prefix=/$(LIB_DIR) \ + sh autogen.sh --prefix=/$(LIB_DIR) \ --datadir=/usr/share/games \ --bindir=/usr/games \ --mandir=/usr/share/man \ @@ -31,7 +33,7 @@ dh_testroot -rm -f build-stamp -rm -f install-stamp - -rm -rf debian/crossfire-server + -rm -rf debian/cfplus-server # Add here commands to clean up after the build process. -$(MAKE) distclean @@ -69,11 +71,11 @@ -rm -f $(CURDIR)/debian/tmp/usr/games/crossloop.pl -rm -f $(CURDIR)/debian/tmp/usr/games/player_dl.pl - cd doc && \ - $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp + #cd doc && \ + #$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp - dh_installdocs -A - dh_installdocs -pcrossfire-doc + #dh_installdocs -A + #dh_installdocs -pcfplus-doc dh_install -i # Build architecture-dependent files here. @@ -88,20 +90,10 @@ cd server && \ $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp - cd plugin && \ - $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp - - cd devel && \ - $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp - - cd crossedit && \ - $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp - dh_movefiles -pcrossfire-edit - dh_installlogrotate dh_installinit -r -- defaults 99 01 dh_installman - dh_strip --dbg-package=crossfire-server + dh_strip --dbg-package=cfplus-server dh_compress dh_fixperms dh_makeshlibs -V