Start generating ChangeLog automatically from Git commit messages.
[pspp-builds.git] / tests / automake.mk
index ac9b415cce508a8b1a055831739c256a94deb8fe..6fb11d02e46d12735160bf74754c4b38b71cf6a0 100644 (file)
@@ -311,3 +311,11 @@ EXTRA_DIST += \
 
 CLEANFILES += *.save pspp.* foo*
 
+DIST_HOOKS += check-for-export-var-val
+check-for-export-var-val:
+       @if grep -q 'export .*=' $(dist_TESTS) ; then \
+        echo 'One or more tests contain non-portable "export VAR=val" syntax' ; \
+        false ; \
+       fi
+
+EXTRA_DIST += tests/OChangeLog