mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-30 17:24:31 +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
|
buildrelease: clean sourceball mingwbin
|
||||||
|
|
||||||
sourceball:
|
sourceball:
|
||||||
rm -rf vgmstream.export
|
rm -rf vgmstream-`./version.sh`
|
||||||
svn export . vgmstream.export
|
svn export . vgmstream-`./version.sh`
|
||||||
tar cvzf "vgmstream-`./version.sh`.tar.gz" vgmstream.export/*
|
echo "#!/bin/sh" > vgmstream-`./version.sh`/version.sh
|
||||||
rm -rf vgmstream.export
|
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
|
mingwbin: mingw_test mingw_winamp
|
||||||
zip -j "vgmstream-`./version.sh`-test.zip" readme.txt LICENSE test/test.exe winamp/in_vgmstream.dll
|
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
|
$(MAKE) -C winamp in_vgmstream.dll
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f vgmstream-*.tar.gz
|
rm -f vgmstream-*
|
||||||
rm -f vgmstream-*-test.zip
|
|
||||||
$(MAKE) -C test clean
|
$(MAKE) -C test clean
|
||||||
$(MAKE) -C test -f Makefile.mingw clean
|
$(MAKE) -C test -f Makefile.mingw clean
|
||||||
$(MAKE) -C winamp clean
|
$(MAKE) -C winamp clean
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
DIR="`dirname "$0"`"
|
DIR="`dirname "$0"`"
|
||||||
VERSION="`svnversion "$DIR" | tr : _`"
|
VERSION="`svnversion "$DIR" | tr : _`"
|
||||||
if [[ "$VERSION" = "exported" ]] ; then
|
|
||||||
echo "exported"
|
|
||||||
else
|
|
||||||
echo "r$VERSION"
|
echo "r$VERSION"
|
||||||
fi
|
|
||||||
|
Loading…
Reference in New Issue
Block a user