r1803 - in packages/trunk/nikwi/debian: . patches

Miriam Ruiz baby-guest at costa.debian.org
Sat Oct 7 14:44:01 UTC 2006


Author: baby-guest
Date: 2006-10-07 14:44:01 +0000 (Sat, 07 Oct 2006)
New Revision: 1803

Modified:
   packages/trunk/nikwi/debian/patches/makefiles.patch
   packages/trunk/nikwi/debian/rules
Log:
Solved the problem with the data directory.



Modified: packages/trunk/nikwi/debian/patches/makefiles.patch
===================================================================
--- packages/trunk/nikwi/debian/patches/makefiles.patch	2006-10-07 14:24:25 UTC (rev 1802)
+++ packages/trunk/nikwi/debian/patches/makefiles.patch	2006-10-07 14:44:01 UTC (rev 1803)
@@ -73,7 +73,7 @@
 +OUTPUT = nikwi
 +CC = g++
 +LD = g++
-+CFLAGS = -Wall -g3 -DDATADIR="\"/usr/share/games/nikwi\""
++CFLAGS = -Wall -g3 -DDATADIR="\".\""
 +CPPFLAGS = 
 +INCLUDES = -I../us/include -I../badcfg/include -I../slashtdp/include -I../slashfx/include
 +LDFLAGS = -O 

Modified: packages/trunk/nikwi/debian/rules
===================================================================
--- packages/trunk/nikwi/debian/rules	2006-10-07 14:24:25 UTC (rev 1802)
+++ packages/trunk/nikwi/debian/rules	2006-10-07 14:44:01 UTC (rev 1803)
@@ -1,17 +1,9 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
 
-
-
 CFLAGS = -Wall -g
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
@@ -39,7 +31,8 @@
 
 build-arch-stamp: configure-stamp 
 	dh_testdir
-	cd srcdist; $(MAKE) -f Makefile.debian
+	cd srcdist; $(MAKE) -f Makefile.debian CFLAGS="$(CFLAGS) \
+		-DDATADIR=\\\\\\\"/usr/share/games/nikwi\\\\\\\""
 	touch $@
 
 build-indep: build-indep-stamp




More information about the Pkg-games-commits mailing list