[master] 17b878b Recoding doxygen in awk is fun

Poul-Henning Kamp phk at phk.freebsd.dk
Wed Jun 8 09:42:07 CEST 2016


--------
In message <E1b9qPE-00039E-34 at project.varnish-software.com>, Guillaume Quintard
 writes:

>    Recoding doxygen in awk is fun

This seems to require gawk, which is not a dependency I think we had
previously ?


At the very least this should happen:

--- a/doc/sphinx/Makefile.am
+++ b/doc/sphinx/Makefile.am
@@ -181,7 +181,7 @@ VTCSYN_SRC = $(top_srcdir)/bin/varnishtest/vtc.c \
             $(top_srcdir)/bin/varnishtest/vtc_logexp.c \
             $(top_srcdir)/bin/varnishtest/vtc_varnish.c
 include/vtc-syntax.rst: vtc-syntax.awk $(VTCSYN_SRC)
-       awk -f $(top_srcdir)/doc/sphinx/vtc-syntax.awk $(VTCSYN_SRC) > $@
+       ${AWK} -f $(top_srcdir)/doc/sphinx/vtc-syntax.awk $(VTCSYN_SRC) > $@
 BUILT_SOURCES += include/vtc-syntax.rst
 
 .PHONY: reference


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



More information about the varnish-commit mailing list