[master] 2754e02e2 be more specific about files we need to copy from `$(srcdir)`

Nils Goroll nils.goroll at uplex.de
Tue Jul 28 11:10:07 UTC 2020


commit 2754e02e245542e5d38b1419dc6d6f01a3ba0a6c
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Tue Jul 28 13:07:02 2020 +0200

    be more specific about files we need to copy from `$(srcdir)`
    
    in particular, do not copy files which we are about to generate
    
    (side note: If I had not before, now I really detest this...
     all I really want is working VTEST builds, there should be a better
     way)

diff --git a/doc/sphinx/Makefile.am b/doc/sphinx/Makefile.am
index 02392dc4b..c5bcd9c22 100644
--- a/doc/sphinx/Makefile.am
+++ b/doc/sphinx/Makefile.am
@@ -23,7 +23,7 @@ clean:
 rstlinks = $(abs_builddir)/doc/sphinx/index.rst
 $(rstlinks):
 	s=`realpath $(srcdir)`; \
-	for f in `cd $$s && find . -type f`; do \
+	for f in `cd $$s && find . -name \*.rst \! -name \*.generated.rst -type f`; do \
 		d=`dirname $$f`; \
 		test -d $$d || mkdir -p $$d; \
 		test -f $$f || ln -s $$s/$$f $$f; \


More information about the varnish-commit mailing list