Commit 5c8b790f authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

Feed automake a pkgdatadir

While at it, get rid of the hard-coded package name.

Refs #2251
parent f4faa6e3
......@@ -140,13 +140,15 @@ nobase_pkginclude_HEADERS = \
common/com_params.h \
waiter/waiter.h
pkgdatadir = ${datarootdir}/${PACKAGE}/vcl
varnishd_CFLAGS = \
@PCRE_CFLAGS@ \
@SAN_CFLAGS@ \
-DVARNISHD_IS_NOT_A_VMOD \
-DVARNISH_STATE_DIR='"${VARNISH_STATE_DIR}"' \
-DVARNISH_VMOD_DIR='"${pkglibdir}/vmods"' \
-DVARNISH_VCL_DIR='"${varnishconfdir}:${datarootdir}/varnish/vcl"'
-DVARNISH_VCL_DIR='"${varnishconfdir}:${pkgdatadir}"'
varnishd_LDFLAGS = -export-dynamic
......
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