os/debian/rules
changeset 5481 c194404a46b0
parent 5356 0d5d19f88ad1
child 5484 7ad86e421c42
--- a/os/debian/rules	Tue Jan 02 20:28:54 2007 +0000
+++ b/os/debian/rules	Tue Jan 02 20:35:16 2007 +0000
@@ -22,8 +22,8 @@
 
 	# Add here commands to compile the package.
 	
-	rm Makefile.config || true
-	$(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
+	./configure --prefix-dir=/usr --binary-dir=games --data-dir=share/games/openttd --icon-dir=share/pixmaps --personal-dir=.openttd --enable-install --install-dir=debian/openttd
+	make
 
 	#/usr/bin/docbook-to-man debian/openttd.sgml > openttd.1
 
@@ -36,7 +36,6 @@
 
 	# Add here commands to clean up after the build process.
 	-$(MAKE) clean
-	rm Makefile.config || true
 
 	dh_clean
 
@@ -47,7 +46,7 @@
 	dh_installdirs
 
 	# Add here commands to install the package into debian/openttd.
-	$(MAKE) DEST_DIR=debian/openttd install
+	$(MAKE) install
 
 # Build architecture-independent files here.
 binary-indep: build install