summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEmmanuel Bouthenot <kolter@openics.org>2009-05-08 23:45:54 +0200
committerEmmanuel Bouthenot <kolter@openics.org>2009-05-08 23:45:54 +0200
commitfabc49a0b8aa283cc83ac2ff514dad74a92208e1 (patch)
tree579a35c99f196bb7f5a1a2d5925e43bde7253b55 /src
parent55aa9dd0e88a875e7caf4579739d560e7b7a2665 (diff)
downloadweechat-fabc49a0b8aa283cc83ac2ff514dad74a92208e1.zip
Install developement files for plugins and pkg-config support (autotools).
Diffstat (limited to 'src')
-rw-r--r--src/plugins/Makefile.am6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am
index e78730cec..24e4252d6 100644
--- a/src/plugins/Makefile.am
+++ b/src/plugins/Makefile.am
@@ -95,3 +95,9 @@ SUBDIRS = . $(alias_dir) $(aspell_dir) $(charset_dir) $(demo_dir) $(fifo_dir) \
$(trigger_dir) $(xfer_dir)
EXTRA_DIST = CMakeLists.txt
+
+# install plugin header
+
+install-data-hook:
+ $(INSTALL) -d $(includedir)/$(PACKAGE)
+ $(INSTALL_DATA) weechat-plugin.h $(includedir)/$(PACKAGE)