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

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


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

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-dict/Makefile.am,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- Makefile.am	22 Feb 2007 16:03:55 -0000	1.7
+++ Makefile.am	22 Feb 2007 21:50:52 -0000	1.8
@@ -18,12 +18,19 @@
 	$(dist_sources) \
 	dict-drivers-register.c
 
-noinst_HEADERS = \
+headers = \
 	dict.h \
 	dict-client.h \
 	dict-private.h \
 	dict-sql.h
 
+if INSTALL_HEADERS
+  pkginc_libdir=$(pkgincludedir)/src/lib-dict
+  pkginc_lib_HEADERS = $(headers)
+else
+  noinst_HEADERS = $(headers)
+endif
+
 dict-drivers-register.c: Makefile
 	rm -f $@
 	echo '/* this file automatically generated by Makefile */' >$@



More information about the dovecot-cvs mailing list