r6992 - packages/trunk/kikithebot/debian

Peter De Wachter pdewacht-guest at alioth.debian.org
Mon May 12 22:36:49 UTC 2008


Author: pdewacht-guest
Date: 2008-05-12 22:36:49 +0000 (Mon, 12 May 2008)
New Revision: 6992

Modified:
   packages/trunk/kikithebot/debian/kikithebot.install
   packages/trunk/kikithebot/debian/rules
Log:
Move the SWIG-generated kiki.py to the architecture-dependent package (as it's
coupled to the SWIG-generated C++ code)


Modified: packages/trunk/kikithebot/debian/kikithebot.install
===================================================================
--- packages/trunk/kikithebot/debian/kikithebot.install	2008-05-12 21:09:57 UTC (rev 6991)
+++ packages/trunk/kikithebot/debian/kikithebot.install	2008-05-12 22:36:49 UTC (rev 6992)
@@ -1,2 +1,7 @@
 debian/*.xpm            usr/share/pixmaps/
 debian/*.desktop        usr/share/applications/
+
+# This is coupled to the SWIG-generated C++ code, so putting it in the -data
+# package seems a bad idea. (What if kikithebot and kikithebot-data are
+# generated with different versions of SWIG?)
+SWIG/kiki.py            usr/share/games/kikithebot/py/

Modified: packages/trunk/kikithebot/debian/rules
===================================================================
--- packages/trunk/kikithebot/debian/rules	2008-05-12 21:09:57 UTC (rev 6991)
+++ packages/trunk/kikithebot/debian/rules	2008-05-12 22:36:49 UTC (rev 6992)
@@ -20,11 +20,11 @@
 	dh_testdir
 # 	Add here commands to compile the package.
 	cd SWIG && swig -c++ -python -globals kiki -o KikiPy_wrap.cpp KikiPy.i
-	cp -f SWIG/kiki.py py/
 	make -C kodilib/linux
 	make -C linux \
 		PYTHON_INCLUDES="$(shell python-config --include)" \
 		PYTHONLIBS="$(shell python-config --libs)"
+	rm -f py/kiki.py
 	touch $@
 
 
@@ -35,7 +35,7 @@
 # 	Add here commands to clean up after the build process.
 	make -C linux clean
 	make -C kodilib/linux clean
-	rm -f SWIG/kiki.py SWIG/KikiPy_wrap.cpp py/kiki.py
+	rm -f py/kiki.py SWIG/kiki.py SWIG/KikiPy_wrap.cpp
 	$(MAKE) -f /usr/share/quilt/quilt.make unpatch
 	dh_clean 
 




More information about the Pkg-games-commits mailing list