[SCM] Packaging the irrlicht game engine branch, master, updated. upstream/1.5-64-g87c1b6c

Christoph Egger Christoph.Egger at gmx.de
Sat Oct 3 19:52:11 UTC 2009


The following commit has been merged in the master branch:
commit 87c1b6c9875071d015d2b317c43f5cfe3a1fd7e2
Author: Christoph Egger <Christoph.Egger at gmx.de>
Date:   Sat Oct 3 21:51:38 2009 +0200

    Get get-orig-source target up-to-date

diff --git a/debian/rules b/debian/rules
index 727bda1..8c2494b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,6 +16,7 @@ include /usr/share/quilt/quilt.make
 # shared library versions, option 1
 version=1.6.0
 major=1.6
+repackv=1
 
 build-lib-%: $(QUILT_STAMPFN)
 	dh_testdir
@@ -38,22 +39,24 @@ build-doc:
 
 get-orig-source:
 	mkdir ../repack
-	uscan --force-download --destdir ../repack
+	uscan --force-download --destdir ../repack --download-current-version
 	( \
 		cd ../repack ;\
 		unzip * ;\
-		cd irrlicht-1.5 ;\
+		cd irrlicht-$(major) ;\
 		rm -rf source/Irrlicht/jpeglib ;\
 		rm -rf source/Irrlicht/zlib ;\
 		rm -rf source/Irrlicht/libpng ;\
+		rm -rf source/Irrlicht/MacOSX ;\
 		for i in glext.h glxext.h wglext.h ; do rm source/Irrlicht/$$i ; done ;\
 		rm -rf bin ;\
 		rm -rf media ;\
 		rm -rf lib;\
 		find . \( -name \*.exe -o -name \*.dll \) -exec rm {} \; ;\
+		( cd doc && svn export https://irrlicht.svn.sourceforge.net/svnroot/irrlicht/trunk/scripts/doc/irrlicht/ ) ;\
 		cd .. ;\
-		GZIP="--best" tar -czf irrlicht_1.5+dfsg1.orig.tar.gz irrlicht-1.5 ;\
-		mv irrlicht_1.5+dfsg1.orig.tar.gz .. ;\
+		GZIP="--best" tar -czf irrlicht_$(major)+dfsg$(repackv).orig.tar.gz irrlicht-$(major) ;\
+		mv irrlicht_$(major)+dfsg$(repackv).orig.tar.gz .. ;\
 	)
 	rm -rf ../repack
 

-- 
Packaging the irrlicht game engine



More information about the Pkg-games-commits mailing list