Commit a1a5122e authored by Nils Goroll's avatar Nils Goroll

fix out-of-tree make dist

parent a6dc0f80
# Makefile for graphviz outputs
#
# for an out-of-tree build, sphinx needs the output in builddir
# XXX is there a better way to do this?
.PHONY: link_srcdir
link_srcdir:
if test "x$(srcdir)" != "x$(builddir)" && \
test ! -f cache_http1_fsm.svg ; then \
d=`pwd`/$(builddir) ; \
cd $(srcdir) && find . -name \*.svg -type f | \
cpio -ldmp $${d} ; \
fi
dist-hook:
$(MAKE) html
# You can set these variables from the command line.
# this is a4, letter is 8.5,11
......@@ -19,7 +34,7 @@ SVGS = \
pdf: $(PDFS)
html: $(SVGS)
html: $(SVGS) link_srcdir
endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment