owntone-server/mkdist.sh.templ

25 lines
558 B
Plaintext
Raw Normal View History

2006-10-02 00:25:02 -04:00
#!/bin/bash
SVNVERSION=`svnversion .`
echo Current SVN Version $SVNVERSION
if ( echo $SVNVERSION | grep "M" > /dev/null 2>&1 ); then
echo SVN repo not up to date
exit
fi
if ( echo $SVNVERSION | grep ":" > /dev/null 2>&1 ); then
echo Mixed SVN versions
exit
fi
2004-03-18 19:43:57 -05:00
mv configure.in configure.in.mkdist
2006-10-02 00:25:02 -04:00
cat configure.in.mkdist | sed -e s/AM_INIT_AUTOMAKE.*$/AM_INIT_AUTOMAKE\(mt-daapd,svn-${SVNVERSION}\)/ > configure.in
./reconf.sh
2006-02-26 03:46:24 -05:00
./configure --with-id3tag=/sw --enable-sqlite --enable-sqlite3
2004-03-18 19:43:57 -05:00
make dist
mv configure.in.mkdist configure.in