changeset 10623:c9e0ee292a08 HEAD

notify plugin: Install headers if --enable-header-install is used. Patch by Mark Washenberger.
author Timo Sirainen <tss@iki.fi>
date Mon, 01 Feb 2010 20:02:53 +0200
parents de9d6dae7fe5
children a07a699b3831
files src/plugins/notify/Makefile.am
diffstat 1 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugins/notify/Makefile.am	Mon Feb 01 17:41:51 2010 +0200
+++ b/src/plugins/notify/Makefile.am	Mon Feb 01 20:02:53 2010 +0200
@@ -17,6 +17,13 @@
 	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