[master] 0d8eb095d Don't distribute varnishstat_curses_help.c

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Mon Apr 27 13:54:06 UTC 2020


commit 0d8eb095d602e428fe110b041ab717adebdec0da
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Mon Apr 27 15:50:59 2020 +0200

    Don't distribute varnishstat_curses_help.c
    
    It's cheap to rebuild, and it might lead to rebuilding it in $(srcdir)
    instead of $(builddir) in a VPATH build. If the source tree is write
    protected this will obviously fail.
    
    Reported by phk.

diff --git a/bin/varnishstat/Makefile.am b/bin/varnishstat/Makefile.am
index 6721d3437..dc8664c65 100644
--- a/bin/varnishstat/Makefile.am
+++ b/bin/varnishstat/Makefile.am
@@ -11,10 +11,12 @@ varnishstat_SOURCES = \
 	varnishstat.c \
 	varnishstat_bindings.h \
 	varnishstat_curses.c \
-	varnishstat_curses_help.c \
 	varnishstat_options.h
 
-BUILT_SOURCES = varnishstat_curses_help.c
+nodist_varnishstat_SOURCES = \
+	varnishstat_curses_help.c
+
+BUILT_SOURCES = $(nodist_varnishstat_SOURCES)
 
 varnishstat_help_gen_SOURCES = \
 	varnishstat_help_gen.c \


More information about the varnish-commit mailing list