Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
5ec2bb09
Commit
5ec2bb09
authored
Mar 16, 2011
by
Tollef Fog Heen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Get rid of temporary intermediate file
Simplify generation of default.vcl somewhat.
parent
7109360d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
Makefile.am
etc/Makefile.am
+4
-5
No files found.
etc/Makefile.am
View file @
5ec2bb09
...
@@ -6,7 +6,7 @@ DISTCLEANFILES = default.vcl
...
@@ -6,7 +6,7 @@ DISTCLEANFILES = default.vcl
dist_varnishconf_DATA
=
default.vcl
dist_varnishconf_DATA
=
default.vcl
default.vcl
:
$(top_srcdir)/bin/varnishd/default.vcl
default.vcl
:
$(top_srcdir)/bin/varnishd/default.vcl
@
printf
"This is a basic VCL configuration file for varnish. See the vcl(7)
\n\
(
printf
"This is a basic VCL configuration file for varnish. See the vcl(7)
\n\
man page for details on VCL syntax and semantics.
\n\
man page for details on VCL syntax and semantics.
\n\
\n\
\n\
Default backend definition. Set this to point to your content
\n\
Default backend definition. Set this to point to your content
\n\
...
@@ -19,7 +19,6 @@ backend default {\n\
...
@@ -19,7 +19,6 @@ backend default {\n\
\n\
\n\
Below is a commented-out copy of the default VCL logic. If you
\n\
Below is a commented-out copy of the default VCL logic. If you
\n\
redefine any of these subroutines, the built-in logic will be
\n\
redefine any of these subroutines, the built-in logic will be
\n\
appended to your code.
\n
"
>
tmp.vcl
appended to your code.
\n
"
;
\
@
sed
-n
'/vcl_recv/,$$p'
$(top_srcdir)
/bin/varnishd/default.vcl
>>
tmp.vcl
sed
-n
'/vcl_recv/,$$p'
$(top_srcdir)
/bin/varnishd/default.vcl
)
|
\
@
sed
's/^\(.*\)$$/# \1/'
tmp.vcl
>
default.vcl
sed
's/^\(.*\)$$/# \1/'
>
default.vcl
@
rm
tmp.vcl
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment