]> Dogcows Code - chaz/yoink/commitdiff
fixed win32 installer building
authorCharles McGarvey <chazmcgarvey@brokenzipper.com>
Mon, 23 Nov 2009 20:52:25 +0000 (13:52 -0700)
committerCharles McGarvey <chazmcgarvey@brokenzipper.com>
Mon, 23 Nov 2009 20:52:25 +0000 (13:52 -0700)
Makefile.am
win32/Makefile.am [new file with mode: 0644]

index 0df126fe3de89f4329d5f6f4fe4d0ec5786e4ba6..75f866e877ebeae40d89a6e217985af68c0fbdfc 100644 (file)
@@ -1,14 +1,14 @@
 
 ACLOCAL_AMFLAGS = -I m4
 
 
 ACLOCAL_AMFLAGS = -I m4
 
-SUBDIRS = data src
-EXTRA_DIST = extra
-
 if WIN32
 if WIN32
+SUBDIRS = data src
 else
 else
-       SUBDIRS += doc
+SUBDIRS = data doc src
 endif
 
 endif
 
+EXTRA_DIST = extra
+
 run: all
        $(MAKE) -C src run
 
 run: all
        $(MAKE) -C src run
 
diff --git a/win32/Makefile.am b/win32/Makefile.am
new file mode 100644 (file)
index 0000000..0cd01df
--- /dev/null
@@ -0,0 +1,11 @@
+
+INSTALLER_NAME = yoinksetup-$(VERSION).exe
+
+.PHONY: installer
+installer:
+       @echo "Building win32 installer..."
+       @(sh build-installer.sh $(INSTALLER_NAME) 2> installer.log 1>&2 && \
+         rm installer.log && echo "Done.") || \
+       (echo "Installer compilation failed!"; \
+        echo "Check installer.log for details."; exit 1)
+
This page took 0.021652 seconds and 4 git commands to generate.