Aegisub/autogen.sh
Niels Martin Hansen d244277ac9 More fixing build system
Originally committed to SVN as r1148.
2007-04-26 21:38:42 +00:00

17 lines
554 B
Bash

#!/bin/sh
# Generate file list for automation subdir
rm -f automation/Makefile.am
cat > automation/Makefile.am <<EOF
## This file is automatically generated.
## Please edit autogen.sh if you need to modify this file.
EXTRA_DIST = \\
EOF
find automation/ -name '*.lua' -or -name '*.rb' -or -name '*.auto3' -or -name '*.txt' | sed '{s/^automation\//\t/; s/$/ \\/}' >> automation/Makefile.am
echo "\tdemos/raytracer-test1.ass \\" >> automation/Makefile.am
echo "\tv4-docs/template-scripting-ideas.ass\n\n" >> automation/Makefile.am
autoreconf -f -i -s