[master] f2a800cce sync Makefile for generate.py

Nils Goroll nils.goroll at uplex.de
Thu May 7 16:25:09 UTC 2020


commit f2a800cce0f244e4f33d94c40b042398984b4a44
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Thu May 7 17:35:00 2020 +0200

    sync Makefile for generate.py
    
    - missing dependencies in each of the both places of invocation
    - vrt_obj.h is generated, so it cannot be a dependency at the same time
    
    notice with out-of-tree parallel build

diff --git a/include/Makefile.am b/include/Makefile.am
index 23e355c86..fa6430de7 100644
--- a/include/Makefile.am
+++ b/include/Makefile.am
@@ -111,6 +111,7 @@ nobase_noinst_HEADERS = \
 ## keep in sync with lib/libvcc/Makefile.am
 vcl.h: \
 	    $(top_srcdir)/lib/libvcc/generate.py \
+	    $(top_srcdir)/include/vcc_interface.h \
 	    $(top_srcdir)/include/vdef.h \
 	    $(top_srcdir)/include/vrt.h \
 	    $(top_srcdir)/doc/sphinx/reference/vcl_var.rst
diff --git a/lib/libvcc/Makefile.am b/lib/libvcc/Makefile.am
index 9333284fd..6f023a452 100644
--- a/lib/libvcc/Makefile.am
+++ b/lib/libvcc/Makefile.am
@@ -45,7 +45,7 @@ vcc_obj.c: \
 	    $(top_srcdir)/include/vcc_interface.h \
 	    $(top_srcdir)/include/vdef.h \
 	    $(top_srcdir)/include/vrt.h \
-	    $(top_srcdir)/include/vrt_obj.h
+	    $(top_srcdir)/doc/sphinx/reference/vcl_var.rst
 	mkdir -p $(top_builddir)/include/tbl
 	@PYTHON@ $(top_srcdir)/lib/libvcc/generate.py \
 	    $(top_srcdir) $(top_builddir)


More information about the varnish-commit mailing list