openafs/regen.sh
Russ Allbery 8dc16fd932 STABLE14-autom4te-cache-is-evil-20060903
Purge autom4te.cache after running autoconf so that we don't ship its huge
trace files in source releases.  Add #!/bin/sh to the beginning of regen.sh
just because.


(cherry picked from commit 5a57fce902)
2006-09-03 20:59:55 +00:00

24 lines
570 B
Bash
Executable File

#!/bin/sh
echo "Updating configuration..."
echo "Running aclocal"
aclocal -I src/cf
echo "Running autoconf"
autoconf
echo "Running autoconf for configure-libafs"
autoconf configure-libafs.in > configure-libafs
chmod +x configure-libafs
echo "Running autoheader"
autoheader
#echo "Running automake"
#automake
echo "Deleting autom4te.cache directory"
rm -r autom4te.cache
# Rebuild the man pages, to not require those building from source to have
# pod2man available.
echo "Building man pages"
if test -d doc/man-pages ; then
(cd doc/man-pages && ./generate-man)
fi