Commit 3141b735 by Geoff Simmons

Fix make distcheck -- don't create README.rst unnecessarily in a build.

parent 07b237a8
Pipeline #399 skipped
......@@ -5,16 +5,14 @@ SUBDIRS = src
DISTCHECK_CONFIGURE_FLAGS = \
VMOD_DIR='$${libdir}/varnish/vmods'
EXTRA_DIST = README.rst LICENSE COPYING
EXTRA_DIST = README.rst
doc_DATA = README.rst LICENSE COPYING
dist_doc_DATA = README.rst LICENSE COPYING
README.rst: src/vmod_re2.man.rst
README.rst: src/vmod_re2.vcc
$(MAKE) -C src vmod_re2.man.rst
cp src/vmod_re2.man.rst README.rst
src/vmod_re2.man.rst:
make -C src vmod_re2.man.rst
%.1 %.2 %.3 %.4 %.5 %.6 %.7 %.8 %.9:
if HAVE_RST2MAN
${RST2MAN} $< $@
......
......@@ -21,6 +21,7 @@ nodist_libvmod_re2_la_SOURCES = \
vcc_if.h
dist_man_MANS = vmod_re2.3
MAINTAINERCLEANFILES = $(dist_man_MANS)
libvmod_re2_la_LIBADD = @RE2_LIBS@
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment