r1605 - in trunk/varnish-cache: . include

des at projects.linpro.no des at projects.linpro.no
Mon Jul 2 10:23:32 CEST 2007


Author: des
Date: 2007-07-02 10:23:31 +0200 (Mon, 02 Jul 2007)
New Revision: 1605

Added:
   trunk/varnish-cache/varnishapi.pc.in
Modified:
   trunk/varnish-cache/
   trunk/varnish-cache/Makefile.am
   trunk/varnish-cache/configure.ac
   trunk/varnish-cache/include/Makefile.am
Log:
Install headers, and register with pkg-config.



Property changes on: trunk/varnish-cache
___________________________________________________________________
Name: svn:ignore
   - .deps
Makefile
Makefile.in
aclocal.m4
autom4te.cache
compile
config.guess
config.h
config.h.in
config.log
config.status
config.sub
configure
configure.lineno
depcomp
install-sh
libtool
ltmain.sh
missing
stamp-h1
   + .deps
Makefile
Makefile.in
aclocal.m4
autom4te.cache
compile
config.guess
config.h
config.h.in
config.log
config.status
config.sub
configure
configure.lineno
depcomp
install-sh
libtool
ltmain.sh
missing
stamp-h1
varnishapi.pc


Modified: trunk/varnish-cache/Makefile.am
===================================================================
--- trunk/varnish-cache/Makefile.am	2007-07-02 07:14:53 UTC (rev 1604)
+++ trunk/varnish-cache/Makefile.am	2007-07-02 08:23:31 UTC (rev 1605)
@@ -4,7 +4,10 @@
 
 SUBDIRS += debian redhat
 
-EXTRA_DIST = LICENSE autogen.sh
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = varnishapi.pc
 
+EXTRA_DIST = LICENSE autogen.sh varnishapi.pc.in
+
 install-data-local:
 	$(install_sh) -d -m 0755 $(localstatedir)/varnish

Modified: trunk/varnish-cache/configure.ac
===================================================================
--- trunk/varnish-cache/configure.ac	2007-07-02 07:14:53 UTC (rev 1604)
+++ trunk/varnish-cache/configure.ac	2007-07-02 08:23:31 UTC (rev 1605)
@@ -155,5 +155,6 @@
     man/Makefile
     debian/Makefile
     redhat/Makefile
+    varnishapi.pc
 ])
 AC_OUTPUT

Modified: trunk/varnish-cache/include/Makefile.am
===================================================================
--- trunk/varnish-cache/include/Makefile.am	2007-07-02 07:14:53 UTC (rev 1604)
+++ trunk/varnish-cache/include/Makefile.am	2007-07-02 08:23:31 UTC (rev 1605)
@@ -1,5 +1,12 @@
 # $Id$
 
+pkginclude_HEADERS = \
+	shmlog.h \
+	shmlog_tags.h \
+	stat_field.h \
+	stats.h \
+	varnishapi.h
+
 noinst_HEADERS = \
 	binary_heap.h \
 	cli.h \
@@ -22,11 +29,6 @@
 	queue.h \
 	vpf.h \
 	vsb.h \
-	shmlog.h \
-	shmlog_tags.h \
-	stat_field.h \
-	stats.h \
-	varnishapi.h \
 	vcl.h \
 	vcl_returns.h \
 	vrt.h \

Added: trunk/varnish-cache/varnishapi.pc.in
===================================================================
--- trunk/varnish-cache/varnishapi.pc.in	                        (rev 0)
+++ trunk/varnish-cache/varnishapi.pc.in	2007-07-02 08:23:31 UTC (rev 1605)
@@ -0,0 +1,10 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: VarnishAPI
+Description: Varnish API
+Version: @PACKAGE_VERSION@
+Cflags: -I${includedir}/varnish
+Libs: -L${libdir} -lvarnishapi




More information about the varnish-commit mailing list