From 6d9c4337d08b2312c384403a3e9b6c03d1639715 Mon Sep 17 00:00:00 2001 From: glenlow Date: Thu, 3 Apr 2008 13:08:10 +0000 Subject: [PATCH] automated builds of Windows packages on MinGW (at least) --- Makefile.am | 2 +- winbuild | 141 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 142 insertions(+), 1 deletion(-) create mode 100755 winbuild diff --git a/Makefile.am b/Makefile.am index 897a0b974..517059587 100644 --- a/Makefile.am +++ b/Makefile.am @@ -36,7 +36,7 @@ EXTRA_DIST = $(txt) $(html) graphviz.spec.in graphviz.spec \ makearch features awk windows \ config/config_perl.pl config/config_python.py \ config/config_ruby.rb config/config_tcl.tcl dot.demo \ - macbuild macosx + macbuild macosx winbuild .PHONY: rpm rpm: dist diff --git a/winbuild b/winbuild new file mode 100755 index 000000000..38aadc675 --- /dev/null +++ b/winbuild @@ -0,0 +1,141 @@ +#!/bin/sh + +MSBUILD="$WINDIR\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe" +PLATFORMSDK="$PROGRAMFILES\Microsoft Visual Studio 8\VC\PlatformSDK" +PLATFORMSDKINCLUDE="$PLATFORMSDK\Include" +PLATFORMSDKLIB="$PLATFORMSDK\Lib" + +GRAPHVIZ_BUILDING= +PACKAGE= + +# first pass -- getting + prepping + +for ARG +do + PREP= + BUILD= + case $ARG in + --help ) + cat <