Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvmod-example
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
libvmod-example
Commits
b7e04c76
Commit
b7e04c76
authored
Sep 19, 2016
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update the README to reflect today's changes
parent
85bb4350
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
13 deletions
+20
-13
README.rst
README.rst
+20
-13
No files found.
README.rst
View file @
b7e04c76
...
@@ -61,27 +61,34 @@ If you have installed Varnish to a non-standard directory, call
...
@@ -61,27 +61,34 @@ If you have installed Varnish to a non-standard directory, call
the appropriate path. For instance, when varnishd configure was called
the appropriate path. For instance, when varnishd configure was called
with ``--prefix=$PREFIX``, use
with ``--prefix=$PREFIX``, use
PKG_CONFIG_PATH=${PREFIX}/lib/pkgconfig
::
export PKG_CONFIG_PATH
export PKG_CONFIG_PATH=${PREFIX}/lib/pkgconfig
export ACLOCAL_PATH=${PREFIX}/share/aclocal
The module will inherit its prefix from Varnish, unless you specify a
different ``--prefix`` when running the ``configure`` script for this
module.
Make targets:
Make targets:
* make - builds the vmod.
* make - builds the vmod.
* make install - installs your vmod.
* make install - installs your vmod.
* make check - runs the unit tests in ``src/tests/*.vtc``
* make check - runs the unit tests in ``src/tests/*.vtc``
.
* make distcheck - run check and prepare a tarball of the vmod.
* make distcheck - run check and prepare a tarball of the vmod.
If you build a dist tarball, you don't need any of the autotools or
pkg-config. You can build the module simply by running::
./configure
make
Installation directories
Installation directories
------------------------
------------------------
By default, the vmod ``configure`` script installs the built vmod in
By default, the vmod ``configure`` script installs the built vmod in the
the same directory as Varnish, determined via ``pkg-config(1)``. The
directory relevant to the prefix. The vmod installation directory can be
vmod installation directory can be overridden by passing the
overridden by passing the ``vmoddir`` variable to ``make install``.
``VMOD_DIR`` variable to ``configure``.
Other files like man-pages and documentation are installed in the
locations determined by ``configure``, which inherits its default
``--prefix`` setting from Varnish.
USAGE EXAMPLE
USAGE EXAMPLE
=============
=============
...
@@ -106,5 +113,5 @@ COMMON PROBLEMS
...
@@ -106,5 +113,5 @@ COMMON PROBLEMS
* Incompatibilities with different Varnish Cache versions
* Incompatibilities with different Varnish Cache versions
Make sure you build this vmod against its correspondent Varnish Cache version.
Make sure you build this vmod against its correspondent Varnish Cache version.
For instance, to build against Varnish Cache 4.
0
, this vmod must be built from
For instance, to build against Varnish Cache 4.
1
, this vmod must be built from
branch 4.
0
.
branch 4.
1
.
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