#!/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