summaryrefslogtreecommitdiff
path: root/windows/Makefile.target
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2012-08-12 21:50:36 +0100
committerVincent Sanders <vince@kyllikki.org>2012-08-12 21:52:39 +0100
commitde982b4d3e9c7e6b6f100e383d647f0edc9321a3 (patch)
tree40ec7004a0df0b5c6d55d12b7c3bb20501ad21c8 /windows/Makefile.target
parent786a5186aa38897170317d453bf49b55cf8e70a3 (diff)
downloadnetsurf-de982b4d3e9c7e6b6f100e383d647f0edc9321a3.tar.gz
netsurf-de982b4d3e9c7e6b6f100e383d647f0edc9321a3.tar.bz2
fix windows build format specifiers
add install target for windows - creates installer rather than actually installing
Diffstat (limited to 'windows/Makefile.target')
-rw-r--r--windows/Makefile.target12
1 files changed, 12 insertions, 0 deletions
diff --git a/windows/Makefile.target b/windows/Makefile.target
index e9922660f..f19d3ac68 100644
--- a/windows/Makefile.target
+++ b/windows/Makefile.target
@@ -71,3 +71,15 @@ S_WINDOWS := $(addprefix windows/,$(S_WINDOWS))
# are not yet available
SOURCES = $(S_COMMON) $(S_IMAGE) $(S_BROWSER) $(S_WINDOWS) $(S_RESOURCES)
EXETARGET := NetSurf.exe
+
+# ----------------------------------------------------------------------------
+# Install target
+# ----------------------------------------------------------------------------
+
+install-windows: netsurf-installer.exe
+
+WIN_RES_OBJ := installer.nsi NetSurf.ico netsurf.png welcome.html default.css messages
+WIN_RES_INS_OBJ := $(addprefix windows/res/,$(WIN_RES_OBJ))
+
+netsurf-installer.exe: $(EXETARGET) $(WIN_RES_INS_OBJ)
+ makensis -V4 -NOCD windows/res/installer.nsi