summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2007-10-01 13:59:19 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2007-10-01 13:59:19 +0000
commit2c49741f88ea0010cfd4d657e818a951443505a0 (patch)
tree94c106eb806ad03ef90f3c00d41fece0f2ec6170 /doc
parent73ecf684f4d0a533eee2ebe0c3491f007df4429d (diff)
Copy sequence.pic to builddir when doing plots, to fix distcheck and other out-of-tree builds
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.am3
1 files changed, 3 insertions, 0 deletions
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