X-Git-Url: https://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=Makefile.am;h=3718647471b6c0fdaeabf833e457e6c942071b73;hb=HEAD;hp=d111be207de1bfacd19a36790a14c25cfbf28fa3;hpb=4c1fe1313707ac3f16fe0ccfdaa1e7850aa55586;p=charm-bypass.git diff --git a/Makefile.am b/Makefile.am index d111be2..3718647 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,6 +2,9 @@ # to (say) /usr/share/charm-bypass/index.html dist_pkgdata_DATA = index.html +# A single POSIX shell script is our "test suite." +TESTS = run-tests.sh + # Based on e.g. # # https://www.gnu.org/software/automake/manual/html_node/Scripts.html @@ -9,6 +12,7 @@ dist_pkgdata_DATA = index.html # this looks like the best way to include "sources" for things that # aren't true programs/libraries. EXTRA_DIST = \ + $(TESTS) \ CharmBypass-Regular.sfd \ CharmBypass-Bold.sfd \ favicon.svg \ @@ -58,7 +62,7 @@ favicon.min.svg: favicon.svg # Optimize the tableau once using XSL, to catch a few things that # "scour" will miss... tableau.min.svg: tableau.svg svgclean.xsl - @XSLTPROC@ svgclean.xsl $< > $@ + @XSLTPROC@ $(srcdir)/svgclean.xsl $< > $@ # Optimize the tableau (again) using scour, removing its XML prologue # so that it can be included directly into the HTML document. @@ -106,3 +110,4 @@ CLEANFILES = \ $(index_html_BUILTDEPS) \ favicon.min.svg \ tableau.min.svg +