mirror of https://gitee.com/bigwinds/arangodb
added usr/local
This commit is contained in:
parent
6dc7d7a88d
commit
f61a1ffa9b
|
@ -1,4 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
|
||||||
TAG=1
|
TAG=1
|
||||||
|
|
||||||
|
@ -14,9 +15,7 @@ fi
|
||||||
|
|
||||||
VERSION="$1"
|
VERSION="$1"
|
||||||
|
|
||||||
git tag | grep -q "^v$VERSION$"
|
if git tag | grep -q "^v$VERSION$"; then
|
||||||
|
|
||||||
if [ "$?" == 0 ]; then
|
|
||||||
echo "$0: version $VERSION already defined"
|
echo "$0: version $VERSION already defined"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
@ -32,23 +31,22 @@ echo "$VERSION" > VERSION
|
||||||
|
|
||||||
cat configure.ac \
|
cat configure.ac \
|
||||||
| sed -e 's~AC_INIT(\[\(.*\)\], \[.*\..*\..*\], \[\(.*\)\], \[\(.*\)\], \[\(.*\)\])~AC_INIT([\1], ['$VERSION'], [\2], [\3], [\4\])~' \
|
| sed -e 's~AC_INIT(\[\(.*\)\], \[.*\..*\..*\], \[\(.*\)\], \[\(.*\)\], \[\(.*\)\])~AC_INIT([\1], ['$VERSION'], [\2], [\3], [\4\])~' \
|
||||||
> configure.ac.tmp \
|
> configure.ac.tmp
|
||||||
|| exit 1
|
|
||||||
|
|
||||||
mv configure.ac.tmp configure.ac
|
mv configure.ac.tmp configure.ac
|
||||||
|
|
||||||
./configure --enable-maintainer-mode || exit 1
|
./configure --enable-maintainer-mode CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib
|
||||||
make built-sources || exit 1
|
make built-sources
|
||||||
make add-maintainer || exit 1
|
make add-maintainer
|
||||||
make add-automagic || exit 1
|
make add-automagic
|
||||||
|
|
||||||
make || exit 1
|
make
|
||||||
make examples || exit 1
|
make examples
|
||||||
make swagger || exit 1
|
make swagger
|
||||||
|
|
||||||
git add -f Documentation/Examples/*.generated
|
git add -f Documentation/Examples/*.generated
|
||||||
|
|
||||||
cd Documentation/Books; make ||exit 1
|
cd Documentation/Books; make
|
||||||
|
|
||||||
case "$TAG" in
|
case "$TAG" in
|
||||||
*-alpha*|*-beta*|devel)
|
*-alpha*|*-beta*|devel)
|
||||||
|
|
Loading…
Reference in New Issue