Description: Build a few examples as an informal test of pyxplot
Author: Stuart Prescott <stuart+debian@nanonanonano.net>

--- a/doc/Makefile
+++ b/doc/Makefile
@@ -67,3 +67,14 @@
 	makeindex pyxplot-plain.idx
 	latex pyxplot-plain.tex
 
+EPSTESTFILES = $(EPSDIR)/ex_axistics.eps $(EPSDIR)/ex_barchart2.eps  $(EPSDIR)/ex_lenses.eps $(EPSDIR)/ex_surface_polynomial.eps
+
+test-examples: $(EPSTESTFILES)
+	for e in $(EPSTESTFILES); do \
+		ls -l $$e; \
+		if [ ! -s "$$e" ]; then \
+			echo "$$e has zero length; tests failed"; exit 2; \
+		fi \
+	done
+
+.PHONY: test-examples
\ No newline at end of file
