Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/EionRobb/skype4pidgin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEion Robb <eion@robbmob.com>2017-10-24 06:26:44 +0300
committerEion Robb <eion@robbmob.com>2017-10-24 06:26:44 +0300
commitc442007ea12f33cd82460a0e6c88c0c8d93daa58 (patch)
tree88ee761030d1dc659f6e54ef514622f9597bb982 /skypeweb
parentd0a426776aac0e62520da611d51f44964491b5f9 (diff)
Add installer creation make commands
Diffstat (limited to 'skypeweb')
-rw-r--r--skypeweb/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/skypeweb/Makefile b/skypeweb/Makefile
index 233f45c..e46ddd7 100644
--- a/skypeweb/Makefile
+++ b/skypeweb/Makefile
@@ -10,6 +10,7 @@ PKG_CONFIG ?= pkg-config
DIR_PERM = 0755
LIB_PERM = 0755
FILE_PERM = 0644
+MAKENSIS ?= makensis
CFLAGS ?= -O2 -g -pipe
LDFLAGS ?=
@@ -20,6 +21,7 @@ ifeq ($(OS),Windows_NT)
SKYPEWEB_DEST = "$(PROGRAMFILES)/Pidgin/plugins"
SKYPEWEB_ICONS_DEST = "$(PROGRAMFILES)/Pidgin/pixmaps/pidgin/protocols"
SKYPEWEB_THEME_DEST = "$(PROGRAMFILES)/Pidgin/pixmaps/pidgin/emotes/skype"
+ MAKENSIS = "$(PROGRAMFILES)/NSIS/makensis.exe"
else
UNAME_S := $(shell uname -s)
@@ -109,7 +111,10 @@ install-icons: icons/16/skype.png icons/22/skype.png icons/48/skype.png icons/16
install -m $(FILE_PERM) -p icons/16/skypeout.png $(SKYPEWEB_ICONS_DEST)/16/skypeout.png
install -m $(FILE_PERM) -p icons/22/skypeout.png $(SKYPEWEB_ICONS_DEST)/22/skypeout.png
install -m $(FILE_PERM) -p icons/48/skypeout.png $(SKYPEWEB_ICONS_DEST)/48/skypeout.png
-
+
+installer: pidgin-skypeweb.nsi libskypeweb.dll
+ $(MAKENSIS) "/DPIDGIN_VARIANT"="Pidgin" "/DPRODUCT_NAME"="pidgin-skypeweb" "/DINSTALLER_NAME"="pidgin-skypeweb-installer" "/DJSON_GLIB_DLL"="libjson-glib-1.0.dll" pidgin-skypeweb.nsi
+
install-theme: theme
mkdir -m $(DIR_PERM) -p $(SKYPEWEB_THEME_DEST)
install -m $(FILE_PERM) -p theme $(SKYPEWEB_THEME_DEST)/theme