diff --git a/AUTHORS b/AUTHORS index 70a081414..bd55e8345 100644 --- a/AUTHORS +++ b/AUTHORS @@ -54,6 +54,7 @@ Alphabetically: * Nicolas Cavigneaux * Nils Görs (nils_2) * Odin +* Patrick Steinhardt * Paul Komkoff * Pavel Shevchuk (Stalwart) * Peter Boström (pbos) diff --git a/ChangeLog b/ChangeLog index cd39b5267..da1dba400 100644 --- a/ChangeLog +++ b/ChangeLog @@ -11,6 +11,7 @@ http://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes] == Version 0.4.3 (under dev) +* core: fix installation of weechat-plugin.h with autotools (patch #8305) * core: fix compilation on Android (bug #41420, patch #8301, bug #41434) * core: fix crash when creating two bars with same name but different case (bug #41418) diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am index a11aeeb19..16c0e35ac 100644 --- a/src/plugins/Makefile.am +++ b/src/plugins/Makefile.am @@ -113,10 +113,10 @@ EXTRA_DIST = CMakeLists.txt # install plugin header install-data-hook: - $(INSTALL) -d $(includedir)/$(PACKAGE) - $(INSTALL_DATA) $(abs_top_srcdir)/src/plugins/weechat-plugin.h $(includedir)/$(PACKAGE) + $(INSTALL) -d $(DESTDIR)/$(includedir)/$(PACKAGE) + $(INSTALL_DATA) $(abs_top_srcdir)/src/plugins/weechat-plugin.h $(DESTDIR)/$(includedir)/$(PACKAGE) # uninstall plugin header uninstall-hook: - $(RM) $(includedir)/$(PACKAGE)/weechat-plugin.h + $(RM) $(DESTDIR)/$(includedir)/$(PACKAGE)/weechat-plugin.h