2007-06-16 14:50:34 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
test "X`echo -e`" = "X-e" && (
|
|
|
|
if `which bash`; then
|
|
|
|
echo "Your builtin echo doesn't support -e, running with bash instead."
|
|
|
|
bash $0
|
|
|
|
exit
|
2007-06-17 14:32:22 +02:00
|
|
|
else
|
2007-06-16 14:50:34 +02:00
|
|
|
echo "Your builtin echo (or echo(1)) doesn't support -e."
|
|
|
|
echo "If you had bash I'd use that instead, but it seems you don't."
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
)
|
2006-03-25 17:14:24 +01:00
|
|
|
|
2007-04-26 23:38:42 +02:00
|
|
|
# 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.
|
|
|
|
|
2007-06-08 01:43:20 +02:00
|
|
|
automationdir = \$(datarootdir)/aegisub/automation
|
2007-06-08 02:38:22 +02:00
|
|
|
dist_automation_DATA = \\
|
2007-04-26 23:38:42 +02:00
|
|
|
EOF
|
|
|
|
|
|
|
|
find automation/ -name '*.lua' -or -name '*.rb' -or -name '*.auto3' -or -name '*.txt' | sed '{s/^automation\//\t/; s/$/ \\/}' >> automation/Makefile.am
|
2007-06-08 01:23:30 +02:00
|
|
|
echo -e "\tdemos/raytracer-test1.ass \\" >> automation/Makefile.am
|
|
|
|
echo -e "\tv4-docs/template-scripting-ideas.ass\n\n" >> automation/Makefile.am
|
2007-04-26 23:38:42 +02:00
|
|
|
|
2007-04-01 00:04:57 +02:00
|
|
|
autoreconf -f -i -s
|
2006-03-25 17:14:24 +01:00
|
|
|
|