summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2011-10-05 17:59:33 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2011-10-05 17:59:33 +0200
commit73e0d70db9ac856db8ab7c3904755bae9f8bb106 (patch)
tree409991790985840d63fdfa93d0273df3c7ac1eb5 /autogen.sh
parent0e3ed82bedabcfcd78dd8c16bbd59ada66bd2e56 (diff)
Touch Makefile.am.test files.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index 45ef969..167ae01 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -51,6 +51,16 @@ if [ "$DIE" -eq 1 ]; then
exit 1
fi
+# Create testfiles
+TESTDIRS=src
+for d in $TESTDIRS
+do
+ if [ ! -f $d/Makefile.am.test ]
+ then
+ touch $d/Makefile.am.test
+ fi
+done
+
aclocalinclude="$ACLOCAL_FLAGS"; \
(echo $_echo_n " + Running aclocal: $_echo_c"; \
aclocal $aclocalinclude; \
@@ -69,3 +79,11 @@ aclocalinclude="$ACLOCAL_FLAGS"; \
echo "done.")
rm -f config.cache
+
+for d in $TESTDIRS
+do
+ if [ -f $d/Makefile.am.test ]
+ then
+ rm $d/Makefile.am.test
+ fi
+done \ No newline at end of file