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 30 31 32 33
|
#!/bin/bash -e
# This script makes the world nice-looking for the world.
cd man
rm *sgml || true
cd ..
for item in *.c
do
/data/src/stillhq_public/trunk/autodocbook/autodocbook "$item"
done
autoreconf -if
./configure
make -C man
make clean
# Get rid of core files
find . -name "*core*" -exec rm -rf {} ";"
# Get rid of unwanted files
for filename in Makefile autom4te.cache config.cache config.log config.status logfile math config.h output.pdf .deps
do
find . -name "$filename" -exec rm -rf {} ";"
done
rm -ri "#*#" *~ || true
# How much space do we use?
du -sk
|