2001-06-28 07:44:19 +01:00
|
|
|
echo "Updating configuration..."
|
2001-06-05 22:17:46 +01:00
|
|
|
echo "Running aclocal"
|
2001-06-28 07:44:19 +01:00
|
|
|
aclocal -I src/cf
|
2001-06-05 22:17:46 +01:00
|
|
|
echo "Running autoconf"
|
|
|
|
autoconf
|
2001-08-29 21:17:19 +01:00
|
|
|
echo "Running autoconf for configure-libafs"
|
|
|
|
autoconf configure-libafs.in > configure-libafs
|
|
|
|
chmod +x configure-libafs
|
2001-06-05 22:17:46 +01:00
|
|
|
echo "Running autoheader"
|
|
|
|
autoheader
|
2001-06-28 07:44:19 +01:00
|
|
|
#echo "Running automake"
|
|
|
|
#automake
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
# Rebuild the man pages, to not require those building from source to have
|
|
|
|
# pod2man available.
|
|
|
|
echo "Building man pages"
|
|
|
|
if test -d doc ; then
|
|
|
|
for f in doc/man-pages/pod1/*.pod ; do
|
|
|
|
pod2man -c 'AFS Command Reference' -r 'OpenAFS' -s 1 \
|
|
|
|
-n `basename "$f" | sed 's/\.pod$//'` "$f" \
|
|
|
|
> `echo "$f" | sed -e 's%pod1/%%' -e 's/\.pod$/.1/'`
|
|
|
|
done
|
|
|
|
for f in doc/man-pages/pod5/*.pod ; do
|
|
|
|
pod2man -c 'AFS File Reference' -r 'OpenAFS' -s 5 \
|
|
|
|
-n `basename "$f" | sed 's/\.pod$//'` "$f" \
|
|
|
|
> `echo "$f" | sed -e 's%pod5/%%' -e 's/\.pod$/.5/'`
|
|
|
|
done
|
|
|
|
for f in doc/man-pages/pod8/*.pod ; do
|
|
|
|
pod2man -c 'AFS Command Reference' -r 'OpenAFS' -s 8 \
|
|
|
|
-n `basename "$f" | sed 's/\.pod$//'` "$f" \
|
|
|
|
> `echo "$f" | sed -e 's%pod8/%%' -e 's/\.pod$/.8/'`
|
|
|
|
done
|
|
|
|
fi
|