summaryrefslogtreecommitdiffabout
path: root/src/Makefile.am
Side-by-side diff
Diffstat (limited to 'src/Makefile.am') (more/less context) (show whitespace changes)
-rw-r--r--src/Makefile.am30
1 files changed, 16 insertions, 14 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 5396773..bf5eee8 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,5 +1,5 @@
-# This file is part of vmod-variable
-# Copyright (C) 2015, 2016 Sergey Poznyakoff
+# This file is part of vmod_variable.
+# Copyright (C) 2017 Sergey Poznyakoff
#
-# Vmod-variable is free software; you can redistribute it and/or modify
+# Vmod_variable is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -8,3 +8,3 @@
#
-# Vmod-variable is distributed in the hope that it will be useful,
+# Vmod_variable is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -14,12 +14,8 @@
# You should have received a copy of the GNU General Public License
-# along with vmod-variable. If not, see <http://www.gnu.org/licenses/>.
+# along with vmod_variable. If not, see <http://www.gnu.org/licenses/>.
AM_CPPFLAGS=\
- -I$(VARNISHSRC)/include\
- -I$(VARNISHSRC)/bin/varnishd\
- -I$(VARNISHSRC)\
+ $(VARNISHAPI_CFLAGS)\
-DLOCALSTATEDIR=\"$(localstatedir)\"
-dist_man_MANS=vmod-variable.3 vmod_variable.3
-
vmoddir = $(VMODDIR)
@@ -40,3 +36,2 @@ CLEANFILES = vcc_if.c vcc_if.h *.rst
-vmodtool = $(VARNISHSRC)/lib/libvcc/vmodtool.py
vmodtoolargs = --strict
@@ -44,7 +39,14 @@ vccfile = $(top_srcdir)/src/variable.vcc
-vcc_if.c vcc_if.h: $(vmodtool) $(vccfile)
- $(AM_V_GEN)$(PYTHON) $(vmodtool) $(vmodtoolargs) $(vccfile)
+vcc_if.c vcc_if.h: $(vccfile)
+ $(AM_V_GEN)$(PYTHON) $(VARNISHAPI_VMODTOOL) $(vmodtoolargs) $(vccfile)
EXTRA_DIST = \
- variable.vcc
+ variable.vcc\
+ vmod_variable.man.rst\
+ vmod_variable.rst
+
+dist_man_MANS=vmod_variable.3 vmod-variable.3
+
+DISTCLEANFILES=vmod_variable.3
+

Return to:

Send suggestions and report system problems to the System administrator.