Commit b4be194e authored by Guillaume Quintard's avatar Guillaume Quintard

Process c files to retrieve the syntax doc

parent e2161bcf
......@@ -175,6 +175,11 @@ include/vsl-tags.rst: $(top_builddir)/lib/libvarnishapi/vsl2rst
$(top_builddir)/lib/libvarnishapi/vsl2rst > $@
BUILT_SOURCES += include/vsl-tags.rst
VTCSYN_SRC = $(top_srcdir)/bin/varnishtest/vtc.c
include/vtc-syntax.rst: vtc-syntax.awk $(VTCSYN_SRC)
awk -f $(top_srcdir)/doc/sphinx/vtc-syntax.awk $(VTCSYN_SRC) > $@
BUILT_SOURCES += include/vtc-syntax.rst
.PHONY: reference
reference:
test -d $@ || mkdir $@
......
......@@ -67,7 +67,8 @@ varnishstat.1: $(top_srcdir)/doc/sphinx/reference/varnishstat.rst \
varnishtest.1: $(top_srcdir)/doc/sphinx/reference/varnishtest.rst
${RST2MAN} $(RST2ANY_FLAGS) $(top_srcdir)/doc/sphinx/reference/varnishtest.rst $@
vtc.7: $(top_srcdir)/doc/sphinx/reference/vtc.rst
vtc.7: $(top_srcdir)/doc/sphinx/reference/vtc.rst \
$(top_srcdir)/doc/sphinx/include/vtc-syntax.rst
${RST2MAN} $(RST2ANY_FLAGS) $(top_srcdir)/doc/sphinx/reference/vtc.rst $@
varnishtop.1: \
......
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