[Pkg-nethack-devel] nethack/debian rules,1.8,1.9

Joshua Kwan joshk-guest@quantz.debian.org
Fri, 24 Oct 2003 23:39:02 +0000


Update of /cvsroot/pkg-nethack/nethack/debian
In directory quantz:/tmp/cvs-serv17693

Modified Files:
	rules 
Log Message:
Make all build targets depend on the patch target.


Index: rules
===================================================================
RCS file: /cvsroot/pkg-nethack/nethack/debian/rules,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- rules	24 Oct 2003 18:44:09 -0000	1.8
+++ rules	24 Oct 2003 23:39:00 -0000	1.9
@@ -25,7 +25,7 @@
 # (in this case, 1) tells it to make symlinks.
 	sh sys/unix/setup.sh 1
 
-build-console: build-console-stamp
+build-console: patch build-console-stamp
 build-console-stamp: Makefile
 	dh_testdir
 	dh_installdirs
@@ -41,7 +41,7 @@
 
 	touch build-console-stamp
 
-build-lisp: Makefile build-lisp-stamp
+build-lisp: patch Makefile build-lisp-stamp
 build-lisp-stamp: Makefile
 	dh_testdir
 	dh_installdirs
@@ -57,7 +57,7 @@
 
 	touch build-lisp-stamp
 
-build-x11: build-x11-stamp
+build-x11: patch build-x11-stamp
 build-x11-stamp: Makefile
 	dh_testdir
 	dh_installdirs
@@ -73,7 +73,7 @@
 
 	touch build-x11-stamp
 
-build-gnome: build-gnome-stamp
+build-gnome: patch build-gnome-stamp
 build-gnome-stamp: Makefile
 
 	-make clean
@@ -87,7 +87,7 @@
 	cp src/nethack debian/gnome
 	touch build-gnome-stamp
 
-build-qt: build-qt-stamp
+build-qt: patch build-qt-stamp
 build-qt-stamp: Makefile
 	-make clean
 
@@ -100,7 +100,7 @@
 	cp src/nethack debian/qt
 	touch build-qt-stamp
 
-build-common: build-common-stamp
+build-common: patch build-common-stamp
 build-common-stamp: Makefile
 	
 	make CFLAGS="$(CFLAGS) -DUSE_XPM" \