r2581 - packages/trunk/vdrift/debian

Gonéri Le Bouder goneri-guest at alioth.debian.org
Thu Apr 19 12:21:46 UTC 2007


Author: goneri-guest
Date: 2007-04-19 12:21:46 +0000 (Thu, 19 Apr 2007)
New Revision: 2581

Modified:
   packages/trunk/vdrift/debian/rules
Log:
clean:
  *remove vdrift-2007-03-23-src/config.log and debian/vdrift.6

build:
  * fix scons parameters (thanks Chris Guirl)
  *copy the doc files in debian/tmp/usr/share/doc/vdrift to be able
  *to rename ChangeLog to changelog (the standard name for upstream
   changelog)
  *install vdrift.xpm

(no more lintian error)


Modified: packages/trunk/vdrift/debian/rules
===================================================================
--- packages/trunk/vdrift/debian/rules	2007-04-19 12:16:52 UTC (rev 2580)
+++ packages/trunk/vdrift/debian/rules	2007-04-19 12:21:46 UTC (rev 2581)
@@ -23,7 +23,7 @@
 build-stamp: configure-stamp 
 	dh_testdir
 	docbook-to-man debian/vdrift.sgml > debian/vdrift.6
-	cd vdrift-2007-03-23-src && scons destdir=debian/vdrift bindir=/usr/games prefix=/usr release=1
+	cd vdrift-2007-03-23-src && scons use_binreloc=0 prefix=/usr bin=/games datadir=/share/games/vdrift/data
 #	cd vdrift-2007-03-23-src && scons  release=1
 	msgfmt -c -o vdrift-2007-03-23-src/po/nl.mo vdrift-2007-03-23-src/po/nl.po
 	touch build-stamp
@@ -34,7 +34,9 @@
 	rm -rf vdrift-2007-03-23-src/.sconf_temp \
 		vdrift-2007-03-23-src/.sconsign.dblite \
 		vdrift-2007-03-23-src/build \
-		vdrift-2007-03-23-src/po/nl.mo
+		vdrift-2007-03-23-src/po/nl.mo \
+		vdrift-2007-03-23-src/config.log \
+		debian/vdrift.6
 	dh_clean
 	QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2
 
@@ -43,14 +45,19 @@
 	dh_testroot
 	dh_clean -k 
 	dh_installdirs
-	# install is borken..
 	#scons install
 	mkdir -p debian/tmp/usr/games/
 	cp vdrift-2007-03-23-src/build/vdrift debian/tmp/usr/games/	
 	# i18n
 	mkdir -p debian/tmp/usr/share/locale/nl/LC_MESSAGES/
 	cp vdrift-2007-03-23-src/po/nl.mo debian/tmp/usr/share/locale/nl/LC_MESSAGES/
-#	[ NOSTRIP = 'yes' ] || strip -R .comment -R .note --strip-unneeded debian/tmp/usr/games/vdrift
+	# doc
+	mkdir -p debian/tmp/usr/share/doc/vdrift
+	cp vdrift-2007-03-23-src/docs/* debian/tmp/usr/share/doc/vdrift
+	mv debian/tmp/usr/share/doc/vdrift/ChangeLog debian/tmp/usr/share/doc/vdrift/changelog
+	# pixmaps
+	mkdir -p debian/tmp/usr/share/pixmaps
+	cp debian/vdrift.xpm debian/tmp/usr/share/pixmaps
 
 # Build architecture-independent files here.
 binary-indep: build install




More information about the Pkg-games-commits mailing list