mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-12 15:33:23 -05:00
update mkdist for autobuilder
This commit is contained in:
parent
8e23eb9e1d
commit
64877b8dfb
@ -1,8 +1,22 @@
|
|||||||
#!/bin/sh
|
#!/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
|
||||||
|
|
||||||
mv configure.in configure.in.mkdist
|
mv configure.in configure.in.mkdist
|
||||||
cat configure.in.mkdist | sed -e s/AM_INIT_AUTOMAKE.*$/AM_INIT_AUTOMAKE\(mt-daapd,cvs-`date +%Y%m%d`\)/ > configure.in
|
cat configure.in.mkdist | sed -e s/AM_INIT_AUTOMAKE.*$/AM_INIT_AUTOMAKE\(mt-daapd,svn-${SVNVERSION}\)/ > configure.in
|
||||||
./reconf
|
./reconf.sh
|
||||||
./configure --with-id3tag=/sw --enable-sqlite --enable-sqlite3
|
./configure --with-id3tag=/sw --enable-sqlite --enable-sqlite3
|
||||||
make dist
|
make dist
|
||||||
mv configure.in.mkdist configure.in
|
mv configure.in.mkdist configure.in
|
||||||
|
Loading…
Reference in New Issue
Block a user