[Commits] [SCM] claws-mail-plugin-reloader branch, master, updated. 055cafb2818506f0c8fb5437451ecee071ac210d

charles at claws-mail.org charles at claws-mail.org
Fri Jul 31 15:55:52 CEST 2015


The branch, master has been updated
       via  055cafb2818506f0c8fb5437451ecee071ac210d (commit)
       via  6e00fa27540c5a6fca7503f059f6462111661774 (commit)
       via  78ff39d1079199bcb145f9e0c9afb569c2eec0c4 (commit)
       via  47b60e710342b150e1133d2339c69b993f046df7 (commit)
      from  8bc7c6e0421817c2986fba8f0662455185ed14e2 (commit)

Summary of changes:
 .gitignore        |    2 ++
 Makefile          |    6 +++---
 plugin-reloader.c |    1 +
 3 files changed, 6 insertions(+), 3 deletions(-)
 create mode 100644 .gitignore


- Log -----------------------------------------------------------------
commit 055cafb2818506f0c8fb5437451ecee071ac210d
Author: Charles Lehner <charles at claws-mail.org>
Date:   Fri Jul 31 09:47:26 2015 -0400

    Use mkdir only when needed

diff --git a/Makefile b/Makefile
index 505d3da..86e77d8 100644
--- a/Makefile
+++ b/Makefile
@@ -12,12 +12,11 @@ LDFLAGS += `pkg-config --libs gtk+-2.0 claws-mail`
 $(LIB): $(OBJ)
 	$(CC) $(LDFLAGS) -shared $^ -o $@
 
-$(PLUGINS_DIR):
+$(DESTDIR)$(PLUGINS_DIR):
 	mkdir -p $@
 
-install: $(LIB) | $(PLUGINS_DIR)
-	mkdir -p $(DESTDIR)$(PLUGINS_DIR)
-	cp $< $(DESTDIR)$|
+install: $(LIB) | $(DESTDIR)$(PLUGINS_DIR)
+	cp $< $|
 
 uninstall:
 	rm $(DESTDIR)$(PLUGINS_DIR)/$(LIB)

commit 6e00fa27540c5a6fca7503f059f6462111661774
Author: Christian Hesse <mail at eworm.de>
Date:   Fri Jul 31 14:49:55 2015 +0200

    introduce .gitignore
    
    Signed-off-by: Christian Hesse <mail at eworm.de>

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..9ac518d
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+plugin-reloader.o
+plugin-reloader.so

commit 78ff39d1079199bcb145f9e0c9afb569c2eec0c4
Author: Christian Hesse <mail at eworm.de>
Date:   Fri Jul 31 14:49:54 2015 +0200

    use DESTDIR for easy packaging
    
    Signed-off-by: Christian Hesse <mail at eworm.de>

diff --git a/Makefile b/Makefile
index 4f3f7df..505d3da 100644
--- a/Makefile
+++ b/Makefile
@@ -16,10 +16,11 @@ $(PLUGINS_DIR):
 	mkdir -p $@
 
 install: $(LIB) | $(PLUGINS_DIR)
-	cp $< $|
+	mkdir -p $(DESTDIR)$(PLUGINS_DIR)
+	cp $< $(DESTDIR)$|
 
 uninstall:
-	rm $(PLUGINS_DIR)/$(LIB)
+	rm $(DESTDIR)$(PLUGINS_DIR)/$(LIB)
 
 clean:
 	rm -f *.o $(LIB)

commit 47b60e710342b150e1133d2339c69b993f046df7
Author: Christian Hesse <mail at eworm.de>
Date:   Fri Jul 31 14:17:30 2015 +0200

    include missing header file
    
    Signed-off-by: Christian Hesse <mail at eworm.de>

diff --git a/plugin-reloader.c b/plugin-reloader.c
index 7f2f9f0..82be700 100644
--- a/plugin-reloader.c
+++ b/plugin-reloader.c
@@ -26,6 +26,7 @@
 #include "plugin.h"
 #include "mainwindow.h"
 #include "menu.h"
+#include "alertpanel.h"
 
 #define PLUGIN_NAME (_("Plugin Reloader"))
 #define VERSION "1.0.0"

-----------------------------------------------------------------------


hooks/post-receive
-- 
Plugin Reloader Plugin


More information about the Commits mailing list