Do not let plugins install their header files, unless necessary.
authorAndrej Kacian <ticho@claws-mail.org>
Fri, 13 Jul 2018 16:40:40 +0000 (18:40 +0200)
committerAndrej Kacian <ticho@claws-mail.org>
Fri, 13 Jul 2018 16:40:40 +0000 (18:40 +0200)
The only plugin that needs to do that is pgpcore, as there
could in theory exist an external plugin that depends on it,
and uses symbols from it.

src/plugins/archive/Makefile.am
src/plugins/notification/gtkhotkey/Makefile.am
src/plugins/pgpcore/Makefile.am
src/plugins/pgpinline/Makefile.am
src/plugins/pgpmime/Makefile.am
src/plugins/smime/Makefile.am
src/plugins/tnef_parse/Makefile.am
src/plugins/vcalendar/Makefile.am

index 26f1c8d20c615238d99d49c6004718fd172adc60..7cc2bdca39ee68113715d9f278ac2d5b7e32d04c 100644 (file)
@@ -17,11 +17,6 @@ archive_la_SOURCES = \
                  archiver_gtk.c \
                  archiver_prefs.c
 
-archiveincludedir = $(includedir)/claws-mail/plugins/@PACKAGE@
-archiveinclude_HEADERS = \
-       archiver.h \
-       archiver_prefs.h
-
 archive_la_LDFLAGS = \
                -avoid-version -module \
                $(GTK_LIBS) \
index 18f619a298c80043652b02f8d98b12aad98309a5..96181d1345b7e357a35661d63aa3af9d1dbf923d 100644 (file)
@@ -10,31 +10,18 @@ endif
 AUTOMAKE_OPTIONS = subdir-objects
 
 libcmnpgtkhotkey_la_SOURCES = \
-       gtk-hotkey-info.c \
-       gtk-hotkey-error.c \
-       gtk-hotkey-listener.c \
-       gtk-hotkey-marshal.c \
-       gtk-hotkey-x11-listener.c \
-       x11/tomboykeybinder.c \
-       x11/eggaccelerators.c \
-       gtk-hotkey-registry.c \
-       gtk-hotkey-key-file-registry.c \
-       gtk-hotkey-utils.c
+       gtk-hotkey-info.c gtk-hotkey-info.h \
+       gtk-hotkey-error.c gtk-hotkey-error.h \
+       gtk-hotkey-listener.c gtk-hotkey-listener.h \
+       gtk-hotkey-marshal.c gtk-hotkey-marshal.h \
+       gtk-hotkey-x11-listener.c gtk-hotkey-x11-listener.h \
+       x11/tomboykeybinder.c x11/tomboykeybinder.h \
+       x11/eggaccelerators.c x11/eggaccelerators.h \
+       gtk-hotkey-registry.c gtk-hotkey-registry.h \
+       gtk-hotkey-key-file-registry.c gtk-hotkey-key-file-registry.h \
+       gtk-hotkey-utils.c gtk-hotkey-utils.h \
+       gtkhotkey.h
        
-cmnpgtkhotkeyincludedir = $(includedir)/claws-mail/plugins/@PACKAGE@/gtkhotkey
-cmnpgtkhotkeyinclude_HEADERS = \
-       gtk-hotkey-error.h \
-       gtkhotkey.h \
-       gtk-hotkey-info.h \
-       gtk-hotkey-key-file-registry.h \
-       gtk-hotkey-listener.h \
-       gtk-hotkey-registry.h \
-       gtk-hotkey-x11-listener.h \
-       gtk-hotkey-marshal.h \
-       x11/tomboykeybinder.h \
-       x11/eggaccelerators.h \
-       gtk-hotkey-utils.h
-
 libcmnpgtkhotkey_la_LIBADD = \
        $(GTK_LIBS) \
        $(CM_NP_HOTKEY_LIBS)
index db67806ecb67dcfa15fe26f06ab0cdb7ffd6775b..5eb32fbc80ab473d80588c925d517e9581803640 100644 (file)
@@ -59,24 +59,21 @@ plugin_LTLIBRARIES = pgpcore.la
 endif
 
 pgpcore_la_SOURCES = \
-       autocompletion.c \
-       passphrase.c \
+       autocompletion.c autocompletion.h \
+       passphrase.c passphrase.h \
        plugin.c \
-       prefs_gpg.c \
-       select-keys.c \
-       sgpgme.c \
-       pgp_utils.c \
-       pgp_viewer.c
+       prefs_gpg.c prefs_gpg.h \
+       select-keys.c select-keys.h \
+       sgpgme.c sgpgme.h \
+       pgp_utils.c pgp_utils.h \
+       pgp_viewer.c pgp_viewer.h
 
 pluginincludedir = $(pkgincludedir)/plugins/pgpcore
 plugininclude_HEADERS = \
-       autocompletion.h \
        passphrase.h \
        prefs_gpg.h \
-       select-keys.h \
        sgpgme.h \
-       pgp_utils.h \
-       pgp_viewer.h
+       pgp_utils.h
 
 pgpcore_la_LDFLAGS = \
        $(plugin_res_ldflag) $(no_undefined) $(export_symbols) \
index cd49aef42fe3262c8f37227557a6e3d1eb322d36..e4ea69c74ed362f243f56c5151278330e66821bb 100644 (file)
@@ -66,11 +66,7 @@ endif
 
 pgpinline_la_SOURCES = \
        plugin.c \
-       pgpinline.c
-
-pluginincludedir = $(pkgincludedir)/plugins/pgpinline
-plugininclude_HEADERS = \
-       pgpinline.h 
+       pgpinline.c pgpinline.h
 
 pgpinline_la_LDFLAGS = \
        $(plugin_res_ldflag) $(no_undefined) $(export_symbols) \
index f69cd83e393a767000ab69fe1bf005b891ac24f9..952ce56a5fe197b107846330a5a99fabe22d9e4d 100644 (file)
@@ -65,11 +65,7 @@ endif
 
 pgpmime_la_SOURCES = \
        plugin.c \
-       pgpmime.c
-
-pluginincludedir = $(pkgincludedir)/plugins/pgpmime
-plugininclude_HEADERS = \
-       pgpmime.h 
+       pgpmime.c pgpmime.h
 
 pgpmime_la_LDFLAGS = \
        $(plugin_res_ldflag) $(no_undefined) $(export_symbols) \
index 85b1f5807fb2798a62270933ebe19d780b161289..c431c7661354ef1b0ae5b81d14537e7ea2ad0f64 100644 (file)
@@ -66,11 +66,7 @@ endif
 
 smime_la_SOURCES = \
        plugin.c \
-       smime.c
-
-pluginincludedir = $(pkgincludedir)/plugins/smime
-plugininclude_HEADERS = \
-       smime.h 
+       smime.c smime.h
 
 smime_la_LDFLAGS = \
        $(plugin_res_ldflag) $(no_undefined) $(export_symbols) \
index b4b1e508f5ca4b72d6ac9e490151df23d5dd83c8..cf599aea896de2bf2c56130729d48a278a063870 100644 (file)
@@ -68,9 +68,6 @@ tnef_parse_la_DEPENDENCIES = $(plugin_deps)
 tnef_parse_la_LIBADD = $(plugin_ldadd) $(cygwin_export_lib) \
        $(GTK_LIBS)
 
-noinst_HEADERS = \
-       tnef_dump.h
-
 IFLAGS = \
        -I$(top_srcdir)/src \
        -I$(top_srcdir)/src/common \
index a44367e182496be549aba97dee0bdb8c3587a90e..c0381e70cc41beb78e9e64e56306225f1131549b 100644 (file)
@@ -60,6 +60,7 @@ endif
 
 vcalendar_la_SOURCES = \
        plugin.c \
+       vcal_interface.h \
        vcalendar.c vcalendar.h \
        vcal_manager.c vcal_manager.h \
        vcal_folder.c vcal_folder.h \
@@ -69,10 +70,6 @@ vcalendar_la_SOURCES = \
        common-views.c common-views.h \
        day-view.c month-view.c
 
-vcalendarincludedir = $(includedir)/claws-mail/plugins/vcalendar
-vcalendarinclude_HEADERS = \
-       vcal_interface.h
 vcalendar_la_LDFLAGS = \
        $(plugin_res_ldflag) $(no_undefined) $(export_symbols) \
        -avoid-version -module \