mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-27 16:10:48 +01:00
export with a working version.sh
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@164 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
parent
c93d6af445
commit
81cde73fef
13
Makefile
13
Makefile
@ -3,10 +3,12 @@
|
||||
buildrelease: clean sourceball mingwbin
|
||||
|
||||
sourceball:
|
||||
rm -rf vgmstream.export
|
||||
svn export . vgmstream.export
|
||||
tar cvzf "vgmstream-`./version.sh`.tar.gz" vgmstream.export/*
|
||||
rm -rf vgmstream.export
|
||||
rm -rf vgmstream-`./version.sh`
|
||||
svn export . vgmstream-`./version.sh`
|
||||
echo "#!/bin/sh" > vgmstream-`./version.sh`/version.sh
|
||||
echo "echo \"`./version.sh`\"" >> vgmstream-`./version.sh`/version.sh
|
||||
tar cvzf "vgmstream-`./version.sh`.tar.gz" vgmstream-`./version.sh`/*
|
||||
rm -rf vgmstream-`./version.sh`
|
||||
|
||||
mingwbin: mingw_test mingw_winamp
|
||||
zip -j "vgmstream-`./version.sh`-test.zip" readme.txt LICENSE test/test.exe winamp/in_vgmstream.dll
|
||||
@ -18,8 +20,7 @@ mingw_winamp:
|
||||
$(MAKE) -C winamp in_vgmstream.dll
|
||||
|
||||
clean:
|
||||
rm -f vgmstream-*.tar.gz
|
||||
rm -f vgmstream-*-test.zip
|
||||
rm -f vgmstream-*
|
||||
$(MAKE) -C test clean
|
||||
$(MAKE) -C test -f Makefile.mingw clean
|
||||
$(MAKE) -C winamp clean
|
||||
|
@ -1,7 +1,4 @@
|
||||
#!/bin/sh
|
||||
DIR="`dirname "$0"`"
|
||||
VERSION="`svnversion "$DIR" | tr : _`"
|
||||
if [[ "$VERSION" = "exported" ]] ; then
|
||||
echo "exported"
|
||||
else
|
||||
echo "r$VERSION"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user