X-Git-Url: https://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=Makefile.am;h=3718647471b6c0fdaeabf833e457e6c942071b73;hb=402159129721ca1e890f84f14098c333ff2d4771;hp=82aed21e4d92502b4dd3990dac8acd13f4e433c6;hpb=db9136b33af18e1294fb2486b99e6d9ba9d51450;p=charm-bypass.git diff --git a/Makefile.am b/Makefile.am index 82aed21..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. @@ -69,7 +73,7 @@ tableau.min.min.svg: tableau.min.svg # Use FontForge to convert the sfd source files to woff2. .sfd.woff2: - @FONTFORGE@ -script sfd2woff.ff $< + @FONTFORGE@ -script $(srcdir)/sfd2woff.ff $< $@ # Base64-encode a woff2 (web open font format 2.0) file. We use this # to embed fonts directly into the CSS that requires them. @@ -106,3 +110,4 @@ CLEANFILES = \ $(index_html_BUILTDEPS) \ favicon.min.svg \ tableau.min.svg +