Exclude the gui from the build.
3 # THE FIRST PARAMETER IS THE VERSION STRING
15 VERSION_STRING='svn-head'
21 echo '**********************************************************************'
23 echo '**********************************************************************'
27 svn co https://hugo.cs.elte.hu/svn/hugo/trunk
28 # svn lock https://hugo.cs.elte.hu/svn/hugo/trunk
33 echo '**********************************************************************'
34 echo " CHANGE THE VERSION TO ${VERSION}"
35 echo '**********************************************************************'
38 rpl ${VERSION_STRING} $VERSION configure.ac
42 echo '**********************************************************************'
43 echo ' CREATE TARBALL'
44 echo '**********************************************************************'
47 ./bootstrap --amver=1.7
48 ./configure CXXFLAGS='-g -O2 -W -Wall -Werror' --enable-gui --enable-demo --enable-benchmark
55 echo '**********************************************************************'
56 echo ' CREATE THE OTHER TAR FILES'
57 echo '**********************************************************************'
60 mv trunk/${PKGNAME}-${VERSION}.tar.gz .
61 tar xzf ${PKGNAME}-${VERSION}.tar.gz
62 mv ${PKGNAME}-${VERSION}/doc/html ./${PKGNAME}-doc-${VERSION}
63 tar czf ${PKGNAME}-doc-${VERSION}.tar.gz ${PKGNAME}-doc-${VERSION}
64 tar czf ${PKGNAME}-${VERSION}-nodoc.tar.gz ${PKGNAME}-${VERSION}
65 rm -rf ${PKGNAME}-${VERSION} ${PKGNAME}-doc-${VERSION}
68 echo '**********************************************************************'
69 echo ' CREATE SVN TAG'
70 echo '**********************************************************************'
73 svn cp trunk https://hugo.cs.elte.hu/svn/hugo/tags/${PKGNAME}-${VERSION} -m "Version ${VERSION} released."
74 # svn unlock https://hugo.cs.elte.hu/svn/hugo/trunk