1 #!/bin/sh 2 # to really generate all files you need to run "make distcheck" in a 3 # object tree, but this will do if you have all parts of the required 4 # tool-chain installed 5 set -e 6 autoreconf -f -i || { echo "autoreconf failed: $?"; exit 1; } 7 find . \( -name '*-private.h' -o -name '*-protos.h' \) | xargs rm -f 8