]> err.no Git - varnish/commitdiff
Install default.vcl to ${sysconfdir}/varnish, not ${datadir}
authortfheen <tfheen@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 14 Aug 2008 06:32:15 +0000 (06:32 +0000)
committertfheen <tfheen@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 14 Aug 2008 06:32:15 +0000 (06:32 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3092 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/configure.ac
varnish-cache/etc/Makefile.am

index ee6ed332802b40a0b63b944af1ff03fbdd6395f9..45f57586378853f1bf75c3c91ec27aa370a3b755 100644 (file)
@@ -262,6 +262,9 @@ fi
 VARNISH_STATE_DIR='${localstatedir}/varnish'
 AC_SUBST(VARNISH_STATE_DIR)
 
+# Default configuration directory.
+varnishconfdir='${sysconfdir}/varnish'
+AC_SUBST(varnishconfdir)
 # Now that we're done using the compiler to look for functions and
 # libraries, set CFLAGS to what we want them to be for our own code
 
index af121b14b124a59ce40b2a01695dd4ac7b320321..548efff4bf1fb770b6ee0d29024553e6d56ba4eb 100644 (file)
@@ -2,7 +2,7 @@
 
 EXTRA_DIST = zope-plone.vcl
 
-dist_data_DATA = default.vcl
+dist_varnishconf_DATA = default.vcl
 
 default.vcl:   $(top_srcdir)/bin/varnishd/default.vcl
        @echo -e "This is a basic VCL configuration file for varnish.  See the vcl(7)\n\