- Add a 'scripts' directory, remove scripts from
docs/ & base directory - Add a spec file (my first try, please report problems) git-svn-id: https://svn.musicpd.org/mpd/trunk@4429 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
20
scripts/makedist.sh
Executable file
20
scripts/makedist.sh
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/bin/sh
|
||||
PWD=`pwd`
|
||||
|
||||
## If we're not in the scripts directory
|
||||
## assume the base directory.
|
||||
if test "`basename $PWD`" == "scripts"; then
|
||||
cd ../
|
||||
fi
|
||||
|
||||
if test -e Makefile
|
||||
then
|
||||
make distclean
|
||||
fi
|
||||
./autogen.sh
|
||||
make
|
||||
make dist
|
||||
|
||||
if test "`basename $PWD`" == "scripts"; then
|
||||
cd contrib/
|
||||
fi
|
Reference in New Issue
Block a user