version 1.2 | | version 1.3 |
---|
| | |
LIB_DIR = var/games/crossfire | | LIB_DIR = var/games/crossfire |
DATADIR = usr/share/games/crossfire | | DATADIR = usr/share/games/crossfire |
| | |
build: build-stamp | | build: patch |
build-stamp: | | |
dh_testdir | | dh_testdir |
| | |
./configure --prefix=/$(LIB_DIR) \ | | ./configure --prefix=/$(LIB_DIR) \ |
| | |
--localstatedir=/var/games \ | | --localstatedir=/var/games \ |
--sysconfdir=/etc | | --sysconfdir=/etc |
| | |
| | |
| | |
# Add here commands to compile the package. | | # Add here commands to compile the package. |
$(MAKE) all | | $(MAKE) all |
| | |
touch build-stamp | | touch build-stamp |
| | |
clean: | | clean: clean-patched unpatch |
| | |
| | clean-patched: |
dh_testdir | | dh_testdir |
-rm -f build-stamp install-stamp | | -rm -f build-stamp install-stamp |
-rm -rf debian/crossfire-server | | -rm -rf debian/crossfire-server |
| | |
| | |
dh_clean | | dh_clean |
| | |
| | patch: patch-stamp |
| | patch-stamp: |
| | dpatch apply-all |
| | touch patch-stamp |
| | |
| | unpatch: |
| | dpatch deapply-all |
| | rm -rf patch-stamp debian/patched |
| | |
install: | | install: |
install: build | | install: build |
dh_testdir | | dh_testdir |