From: Timo Sirainen Date: Mon, 1 Feb 2010 18:02:53 +0000 (+0200) Subject: notify plugin: Install headers if --enable-header-install is used. X-Git-Tag: 2.0.beta3~175 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9a05c629c354ad60200deee5fe5e2860c32fc98d;p=thirdparty%2Fdovecot%2Fcore.git notify plugin: Install headers if --enable-header-install is used. Patch by Mark Washenberger. --HG-- branch : HEAD --- diff --git a/src/plugins/notify/Makefile.am b/src/plugins/notify/Makefile.am index 6292394526..addc02ddb0 100644 --- a/src/plugins/notify/Makefile.am +++ b/src/plugins/notify/Makefile.am @@ -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