root/src/modules-lua/Makefile.in

Revision 6aa1ed9d279ae3674c21d2d4c78a27cbdcbb4aa9, 1.2 kB (checked in by Theo Schlossnagle <jesus@omniti.com>, 5 years ago)

refs #39, pulls in tcp docs (and installs tcp checker)

  • Property mode set to 100644
Line 
1 CC=@CC@
2 CPPFLAGS=@CPPFLAGS@
3 CFLAGS=@CFLAGS@
4 PGCFLAGS=@PGCFLAGS@
5 LDFLAGS=@LDFLAGS@
6 AR=@AR@
7 RANLIB=@RANLIB@
8 LIBS=@LIBS@
9 PGLIBS=@PGLIBS@
10 INSTALL=@INSTALL@
11
12 prefix=@prefix@
13 exec_prefix=@exec_prefix@
14 bindir=@bindir@
15 sbindir=@sbindir@
16 libdir=@libdir@
17 includedir=${prefix}/include
18 libexecdir=@libexecdir@
19 datarootdir = @datarootdir@
20 mandir=@mandir@
21 mansubdir=@mansubdir@
22 docdir=${prefix}/@docdir@
23 sysconfdir=@sysconfdir@
24 srcdir=@srcdir@
25 top_srcdir=@top_srcdir@
26 XSLTPROC=@XSLTPROC@
27 XMLLINT=@XMLLINT@
28 MODULES_DIR=@MODULES_DIR@
29
30 LUA=noit/timeval.lua \
31         noit/HttpClient.lua \
32         noit/module/varnish.lua \
33         noit/module/smtp.lua \
34         noit/module/http.lua \
35         noit/module/resmon.lua \
36         noit/module/tcp.lua
37
38 all:
39
40 install:
41         $(top_srcdir)/buildtools/mkinstalldirs $(DESTDIR)$(MODULES_DIR)/noit/module
42         for lua in $(LUA); do \
43                 $(INSTALL) -m 0644 $$lua $(DESTDIR)$(MODULES_DIR)/$$lua ; \
44         done
45
46 alldocs:        ../modules/docs
47         for lua in $(LUA); do \
48                 $(top_srcdir)/src/lua/src/lua extract_xml.lua $$lua tmp.xml ; \
49                 test -f tmp.xml && \
50                         $(XSLTPROC) ../modules/module.xsl tmp.xml | \
51                         $(XMLLINT) --format - > \
52                         $(top_srcdir)/docs/config/modules/`echo $$lua | sed -e 's/\.lua/.xml/; s/\//./g'` ; \
53                 rm -f tmp.xml ; \
54         done
Note: See TracBrowser for help on using the browser.