r3969 - packages/trunk/mu-cade/debian

Miriam Ruiz baby-guest at alioth.debian.org
Wed Aug 29 18:34:36 UTC 2007


Author: baby-guest
Date: 2007-08-29 18:34:35 +0000 (Wed, 29 Aug 2007)
New Revision: 3969

Modified:
   packages/trunk/mu-cade/debian/control
   packages/trunk/mu-cade/debian/rules
Log:
Compile properly



Modified: packages/trunk/mu-cade/debian/control
===================================================================
--- packages/trunk/mu-cade/debian/control	2007-08-29 18:32:25 UTC (rev 3968)
+++ packages/trunk/mu-cade/debian/control	2007-08-29 18:34:35 UTC (rev 3969)
@@ -3,7 +3,7 @@
 Priority: extra
 Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org> 
 Uploaders: Miriam Ruiz <little_miry at yahoo.es>, Peter De Wachter <pdewacht at gmail.com>
-Build-Depends: debhelper (>= 5), ant, quilt, gdc,
+Build-Depends: debhelper (>= 5), quilt, gdc,
  libglu1-mesa-dev | libglu-dev, libgl1-mesa-dev | libgl-dev,
  libsdl1.2-dev, libsdl-mixer1.2-dev
 Standards-Version: 3.7.2

Modified: packages/trunk/mu-cade/debian/rules
===================================================================
--- packages/trunk/mu-cade/debian/rules	2007-08-29 18:32:25 UTC (rev 3968)
+++ packages/trunk/mu-cade/debian/rules	2007-08-29 18:34:35 UTC (rev 3969)
@@ -7,27 +7,31 @@
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
 	CFLAGS += -O0
+	DFLAGS = -g -debug -d
 else
 	CFLAGS += -O2
+	DFLAGS = -O -release -d
 endif
 
 configure: configure-stamp
 configure-stamp:
 	dh_testdir
+	#ant -v
 	$(MAKE) -f /usr/share/quilt/quilt.make patch
 	touch $@
 
 build: build-stamp
 build-stamp: configure-stamp 
 	dh_testdir
-	$(MAKE) EXE=mu-cade
+	$(MAKE) CFLAGS="$(CFLAGS)" DFLAGS="$(DFLAGS)"
 	touch $@
 
 clean:
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp configure-stamp
-	#ant clean
+	#ant -v clean
+	[ ! -f Makefile ] || $(MAKE) clean
 	rm -f mu-cade
 	rm -f `find . -name "*.o"`
 	$(MAKE) -f /usr/share/quilt/quilt.make unpatch




More information about the Pkg-games-commits mailing list