[master] 45fd33b Install devicedetect.vcl system-wide

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Mon Sep 12 12:59:12 CEST 2016


commit 45fd33b01e3ab556854b045747c5c00e21709058
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Thu Aug 25 23:02:20 2016 +0200

    Install devicedetect.vcl system-wide
    
    Downstream packages can always replace it with a different version.
    End-users can override it in their `/etc` tree.

diff --git a/etc/Makefile.am b/etc/Makefile.am
index d02d710..8fc49b9 100644
--- a/etc/Makefile.am
+++ b/etc/Makefile.am
@@ -10,3 +10,7 @@ builtin.vcl:	$(top_srcdir)/bin/varnishd/builtin.vcl
 New users is recommended to use the example.vcl file as a starting point.\n\n";\
 	sed -n '/vcl_recv/,$$p' $(top_srcdir)/bin/varnishd/builtin.vcl ) | \
 	sed 's/^\(.*\)$$/# \1/' > builtin.vcl
+
+vcldir=$(datarootdir)/varnish/vcl
+
+dist_vcl_DATA = devicedetect.vcl



More information about the varnish-commit mailing list