Last change
on this file since 3863 was 3320, checked in by Bruno Cornec, 10 years ago |
- Re-add (thanks git BTW) the 2.2.9 branch which had been destroyed in
the move to 3.0
|
-
Property svn:executable
set to
*
|
File size:
781 bytes
|
Rev | Line | |
---|
[3320] | 1 | #!/bin/bash
|
---|
| 2 | #
|
---|
| 3 | # Built from scratch
|
---|
| 4 | #
|
---|
| 5 | amv=`automake --version | head -1 | awk '{print $(NF)}'`
|
---|
| 6 | amvmj=`echo $amv | cut -d. -f1`
|
---|
| 7 | amvmn=`echo $amv | cut -d. -f2`
|
---|
| 8 | acv=`autoconf --version | head -1 | awk '{print $(NF)}'`
|
---|
| 9 | acvmj=`echo $acv | cut -d. -f1`
|
---|
| 10 | acvmn=`echo $acv | cut -d. -f2`
|
---|
| 11 | if [ "$acvmj" -lt 2 ]; then
|
---|
| 12 | echo "Please get a version of autoconf >= 2.59"
|
---|
| 13 | exit -1
|
---|
| 14 | fi
|
---|
| 15 | if [ "$acvmn" -lt 59 ]; then
|
---|
| 16 | echo "Please get a version of autoconf >= 2.59"
|
---|
| 17 | exit -1
|
---|
| 18 | fi
|
---|
| 19 | if [ "$amvmj" -lt 1 ]; then
|
---|
| 20 | echo "Please get a version of automake >= 1.7"
|
---|
| 21 | exit -1
|
---|
| 22 | fi
|
---|
| 23 | if [ "$acvmn" -lt 7 ]; then
|
---|
| 24 | echo "Please get a version of automake >= 1.7"
|
---|
| 25 | exit -1
|
---|
| 26 | fi
|
---|
| 27 |
|
---|
| 28 | make maintainer-clean >/dev/null 2>&1
|
---|
| 29 | libtoolize -f -c --automake
|
---|
| 30 | aclocal
|
---|
| 31 | autoheader
|
---|
| 32 | automake --add-missing --copy
|
---|
| 33 | autoconf
|
---|
| 34 | rm -rf autom4te.cache
|
---|
Note:
See
TracBrowser
for help on using the repository browser.