From 2c49741f88ea0010cfd4d657e818a951443505a0 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Mon, 1 Oct 2007 13:59:19 +0000 Subject: Copy sequence.pic to builddir when doing plots, to fix distcheck and other out-of-tree builds 20071001135919-53eee-892a8ce30744c8df7c2b319f147305cc1411e613.gz --- doc/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc') diff --git a/doc/Makefile.am b/doc/Makefile.am index a22be8e..677d219 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -9,6 +9,9 @@ CLEANFILES += $(SEQ_DIA_PNGS) log.sh test all-local: $(SEQ_DIA_PNGS) +# pic2plot wants sequence.pic in the build dir, so use a hack - copy it in %.png: %.pic sequence.pic + cp $(srcdir)/sequence.pic . set -o pipefail; $(PIC2PLOT) -Tps --font-name AvantGarde-Book $< | $(CONVERT) -density 112 - $@ ; rm .sequence.temp + rm -f sequence.pic endif -- cgit v1.2.1