[dovecot-cvs] dovecot/src/lib-sql Makefile.am,1.7,1.8

tss at dovecot.org tss at dovecot.org
Thu Feb 22 21:51:05 UTC 2007


Update of /var/lib/cvs/dovecot/src/lib-sql
In directory talvi:/tmp/cvs-serv26850/src/lib-sql

Modified Files:
	Makefile.am 
Log Message:
Added --with-headers configure option to install .h files.



Index: Makefile.am
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-sql/Makefile.am,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- Makefile.am	10 Feb 2006 15:53:32 -0000	1.7
+++ Makefile.am	22 Feb 2007 21:51:03 -0000	1.8
@@ -16,10 +16,17 @@
 	$(dist_sources) \
 	sql-drivers-register.c
 
-noinst_HEADERS = \
+headers = \
 	sql-api.h \
 	sql-api-private.h
 
+if INSTALL_HEADERS
+  pkginc_libdir=$(pkgincludedir)/src/lib-sql
+  pkginc_lib_HEADERS = $(headers)
+else
+  noinst_HEADERS = $(headers)
+endif
+
 sql-drivers-register.c: Makefile
 	rm -f $@
 	echo '/* this file automatically generated by Makefile */' >$@



More information about the dovecot-cvs mailing list