[master] a84b3c941 build: Polish vtc-syntax.py dependency

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Fri Jun 9 10:08:11 UTC 2023


commit a84b3c9416890a3f32e25ce4f6d6c87e40b10c79
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Fri Jun 9 12:00:17 2023 +0200

    build: Polish vtc-syntax.py dependency
    
    Better diff with the --word-diff --word-diff-regex=. options.

diff --git a/doc/sphinx/Makefile.am b/doc/sphinx/Makefile.am
index 2dcdcd55f..af4bc85c4 100644
--- a/doc/sphinx/Makefile.am
+++ b/doc/sphinx/Makefile.am
@@ -155,8 +155,8 @@ VTCSYN_SRC = \
 	$(top_srcdir)/bin/varnishtest/vtc_syslog.c \
 	$(top_srcdir)/bin/varnishtest/vtc_tunnel.c \
 	$(top_srcdir)/bin/varnishtest/vtc_varnish.c
-include/vtc-syntax.rst: vtc-syntax.py $(VTCSYN_SRC)
-	$(AM_V_GEN) $(PYTHON) $(top_srcdir)/doc/sphinx/vtc-syntax.py $(VTCSYN_SRC) > ${@}_
+include/vtc-syntax.rst: $(srcdir)/vtc-syntax.py $(VTCSYN_SRC)
+	$(AM_V_GEN) $(PYTHON) $(srcdir)/vtc-syntax.py $(VTCSYN_SRC) > ${@}_
 	@mv -f ${@}_ ${@}
 BUILT_SOURCES += include/vtc-syntax.rst
 


More information about the varnish-commit mailing list