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

tss at dovecot.org tss at dovecot.org
Thu Feb 22 21:50:26 UTC 2007


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

Modified Files:
      Tag: branch_1_0
	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.7.2.1
diff -u -d -r1.7 -r1.7.2.1
--- Makefile.am	10 Feb 2006 15:53:32 -0000	1.7
+++ Makefile.am	22 Feb 2007 21:50:24 -0000	1.7.2.1
@@ -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