(Arne Babenhauserheide)
2016-07-10: make distcheck work again make distcheck work again
diff --git a/Makefile.am b/Makefile.am --- a/Makefile.am +++ b/Makefile.am @@ -10,25 +10,28 @@ WISP = wisp-guile.w wisp-reader.w wisp-s EXTRA_DIST = $(WISP) bootstrap.sh bootstrap-reader.sh examples tests wisp-repl-guile.sh testrunner.w wisp.py wisp.scm CLEANFILES = 1 2 +DISTCLEANFILES = $(lang_DATA) $(site_DATA) # don't spout out lots of stuff at each distcheck. Disable for debugging. AM_DISTCHECK_CONFIGURE_FLAGS="--quiet" ChangeLog : hg log --style changelog > ChangeLog -$(site_DATA) $(lang_DATA): ${WISP} wisp.scm +.INTERMEDIATE: .mydatastuff +$(site_DATA) $(lang_DATA): .wispbootstrap +.wispbootstrap : ${WISP} wisp.scm @abs_top_srcdir@/bootstrap-reader.sh @abs_top_srcdir@ @abs_top_builddir@ @GUILE@ wisp.scm 2>&1 | sed "s/^;;;.*//" 2>&1 | grep . 1>&2 ; test ! $$? -eq 0 # it worked if grep does not find anything wisp.scm: wisp-guile.w wisp.py @abs_top_srcdir@/bootstrap.sh @abs_top_srcdir@ @GUILE@ @python3@ 2>&1 | sed "s/^;;;.*//" 2>&1 | grep . 1>&2 ; test ! $$? -eq 0 # it worked if grep does not find anything -.PHONY: syntaxtests.sh +.INTERMEDIATE: syntaxtests.sh syntaxtests.sh : wisp.scm tests/runtests-scheme-preprocessor.sh echo '#!/usr/bin/env bash' > @abs_top_builddir@/$@ echo @abs_top_srcdir@/tests/runtests-scheme-preprocessor.sh @abs_top_srcdir@ @abs_top_builddir@ >> @abs_top_builddir@/$@ chmod +x @abs_top_builddir@/$@ -.PHONY: syntaxtestsreader.sh +.INTERMEDIATE: syntaxtestsreader.sh syntaxtestsreader.sh : ${WISP} wisp.scm tests/runtests-scheme-reader.sh echo '#!/usr/bin/env bash' > @abs_top_builddir@/$@ echo @abs_top_srcdir@/tests/runtests-scheme-reader.sh @abs_top_srcdir@ @abs_top_builddir@ >> @abs_top_builddir@/$@