Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

[2ca21d]: autogen.sh Maximize Restore History

Download this file

autogen.sh    31 lines (24 with data), 681 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#! /bin/sh
rm -rf Makefile aclocal.m4 config.guess config.h.in* config.sub configure depcomp install-sh install.sh ltmain.sh missing autom4te.cache
find . -name Makefile.in -exec rm {} \;
autoreconf -i -f
#depcom is not added to DIST_COMMON by the previous run of automake, strange
automake
TMPFILE=$(mktemp)
cat >$TMPFILE <<EOF
#! /bin/sh
if test "\$#" = "0"; then
if ! ./setup.sh; then
echo "Please read the documentation!!!"
exit 1
fi
trap - EXIT
exit 0
fi
EOF
cat configure >>$TMPFILE
mv $TMPFILE configure
chmod "u=rwx,g=rx,o=rx" configure
echo "Creating setup-driver.sh ..."
./data2setup.sh > setup-driver.sh
(cd contrib/hal/ && ./gen-hal-fdi.pl)