]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
notify plugin: Install headers if --enable-header-install is used.
authorTimo Sirainen <tss@iki.fi>
Mon, 1 Feb 2010 18:02:53 +0000 (20:02 +0200)
committerTimo Sirainen <tss@iki.fi>
Mon, 1 Feb 2010 18:02:53 +0000 (20:02 +0200)
Patch by Mark Washenberger.

--HG--
branch : HEAD

src/plugins/notify/Makefile.am

index 629239452639d7f2bf81ac9b22773f805ac64da8..addc02ddb0a60fbc4bfbe0c924608492a0e19849 100644 (file)
@@ -17,6 +17,13 @@ lib15_notify_plugin_la_SOURCES = \
        notify-noop.c \
        notify-storage.c
 
-noinst_HEADERS = \
+headers = \
        notify-plugin.h \
        notify-plugin-private.h
+
+if INSTALL_HEADERS
+  pkginc_libdir=$(pkgincludedir)
+  pkginc_lib_HEADERS = $(headers)
+else
+  noinst_HEADERS = $(headers)
+endif