diff options
author | Tim Angus <tim@ngus.net> | 2005-12-29 00:31:53 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2005-12-29 00:31:53 +0000 |
commit | 4f03afa80f3c26996b750c69781c00b0e7c2058f (patch) | |
tree | a99612afe289e742d425e44d594cdbf059131dda /misc | |
parent | 13e1832ab581fb91387150613c571adf840e8940 (diff) |
* Added script to merge ioq3 into trem
Diffstat (limited to 'misc')
-rwxr-xr-x | misc/merge-ioq3-into-trem.sh | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/misc/merge-ioq3-into-trem.sh b/misc/merge-ioq3-into-trem.sh new file mode 100755 index 00000000..d6baaed7 --- /dev/null +++ b/misc/merge-ioq3-into-trem.sh @@ -0,0 +1,45 @@ +#! /bin/sh + +cd /tmp + +# Make sure previous copies are gone +rm -rf quake3/ + +# Checkout a new copy of ioq3 +svn co svn://svn.icculus.org/quake3/trunk/ quake3 +cd quake3/ + +IOQ3REVISION=`svnversion .` +IOQ3VERSION=ioq3-r$IOQ3REVISION + +rm -rf $IOQ3VERSION +svn export . $IOQ3VERSION +cd $IOQ3VERSION + +# Remove READMEs and the like +rm -rf BUGS ChangeLog README COPYING.txt TODO id-readme.txt web/ + +# Remove Q3 ui stuff +rm -rf ui/ + +# Remove Windows/VC related stuff +rm -f `find -iname "*.bat"` +rm -f `find -iname "*.lnt"` +rm -f `find -iname "*.sln"` +rm -f `find -iname "*.vcproj"` +rm -f `find -iname "*.def"` +rm -f `find -iname "*.q3asm"` +rm -f `find -iname "*.mak"` +rm -f code/tools/lcc/makefile.nt + +# Remove Linux docs +rm -rf code/unix/LinuxSupport/ +rm -f code/unix/README.* + +# Remove game code +rm -rf code/cgame/ code/game/ code/ui/ code/q3_ui/ + +mv code src + +cd .. +svn_load_dirs svn://svn.icculus.org/tremulous/ -t upstream/$IOQ3VERSION upstream/current $IOQ3VERSION/ |