clean up building a little

git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@52 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
halleyscometsw 2008-03-14 13:28:46 +00:00
parent ea161c0500
commit 55a9b6e220
2 changed files with 12 additions and 9 deletions

View File

@ -1,12 +1,15 @@
.PHONY: buildrelease mingw_test mingw_winamp
.PHONY: buildrelease mingw_test mingw_winamp sourceball mingwbin
buildrelease: clean vgmstream.tar.gz vgmstream-test.zip
buildrelease: clean sourceball mingwbin
vgmstream.tar.gz:
tar cvzf vgmstream.tar.gz readme.txt LICENSE Makefile src test winamp
sourceball:
rm -rf vgmstream.export
svn export . vgmstream.export
tar cvzf "vgmstream-`./version.sh`.tar.gz" vgmstream.export/*
rm -rf vgmstream.export
vgmstream-test.zip: mingw_test mingw_winamp
zip -j vgmstream-test.zip readme.txt LICENSE test/test.exe winamp/in_vgmstream.dll
mingwbin: mingw_test mingw_winamp
zip -j "vgmstream-`./version.sh`-test.zip" readme.txt LICENSE test/test.exe winamp/in_vgmstream.dll
mingw_test:
$(MAKE) -C test -f Makefile.mingw test.exe
@ -15,8 +18,8 @@ mingw_winamp:
$(MAKE) -C winamp in_vgmstream.dll
clean:
rm -f vgmstream.tar.gz
rm -f vgmstream-test.zip
rm -f vgmstream-*.tar.gz
rm -f vgmstream-*-test.zip
$(MAKE) -C test clean
$(MAKE) -C test -f Makefile.mingw clean
$(MAKE) -C winamp clean

View File

@ -1 +1 @@
echo "revision `svnversion`"
echo "r`svnversion | tr : _`"