]> gitweb.michael.orlitzky.com - charm-bypass.git/blobdiff - Makefile.am
COPYING: add to state the "or later" bit
[charm-bypass.git] / Makefile.am
index d111be207de1bfacd19a36790a14c25cfbf28fa3..3718647471b6c0fdaeabf833e457e6c942071b73 100644 (file)
@@ -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
+