(svn r7765) -Fix (r7759): forgot to update the os/debian files.
authorrubidium
Tue, 02 Jan 2007 20:35:16 +0000
changeset 5732 c11c4816a334
parent 5731 adeae09edbea
child 5733 8b3c5398687f
(svn r7765) -Fix (r7759): forgot to update the os/debian files.
os/debian/rules
--- 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