Skip to content

Commit

Permalink
Polish contrib Makefile
Browse files Browse the repository at this point in the history
Avoid this warning:

autoreconf2.69: running: automake --add-missing --copy --no-force
vtc.am:12: warning: 'TEST_EXTENSIONS' cannot have conditional contents
contrib/Makefile.am:12:   'vtc.am' included from here

Always defining the tests even if contrib is not built should not cause
any harm.
  • Loading branch information
nigoroll committed Sep 19, 2022
1 parent 32af98d commit 03a36ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contrib/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#

include $(top_srcdir)/vtc.am

if !WITH_CONTRIB
dist_noinst_SCRIPTS = \
varnishstatdiff
Expand All @@ -9,7 +11,6 @@ dist_bin_SCRIPTS = \

TESTS = @CONTRIB_TESTS@

include $(top_srcdir)/vtc.am
endif

EXTRA_DIST = @CONTRIB_TESTS@

0 comments on commit 03a36ac

Please sign in to comment.