rsnapshot/autogen.sh
2015-06-24 11:43:15 +02:00

14 lines
362 B
Bash
Executable file

#!/bin/sh
# generate testsuite autoconf
CONFIG="t/include.ac"
echo > $CONFIG
echo '# this part is autogenerated by autogen.sh' >> $CONFIG
echo >> $CONFIG
find t/ -name '*.in' | sed 's/\.in$//g' | while read line; do
echo "AC_CONFIG_FILES($line)" >> $CONFIG
done
echo >> $CONFIG
echo '# this part had been autogenerated by autogen.sh' >> $CONFIG
autoreconf -i