From: Marko Kreen Date: Wed, 29 Sep 2010 21:47:32 +0000 (-0700) Subject: zip generation for win32 X-Git-Tag: pgbouncer_1_4_rc3~29 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=be615efb4b6af562caa9c5cbb7445e9718be189b;p=pgbouncer zip generation for win32 --- diff --git a/Makefile b/Makefile index 675fbf6..a4647f0 100644 --- a/Makefile +++ b/Makefile @@ -223,6 +223,19 @@ $(dll): $(builddir)/config.mak $(dllobjs) $(dlldef) $(E) " DLLWRAP" $@ $(Q) $(DLLWRAP) --def $(dlldef) -o $@ $(dllobjs) +zip = pgbouncer-$(PACKAGE_VERSION)-win32.zip + +zip: all + make -C doc html +ifeq ($(enable_debug),no) + $(STRIP) pgbevent.dll + $(STRIP) pgbouncer.exe +endif + cp COPYRIGHT doc/COPYRIGHT.txt + cp AUTHORS doc/AUTHORS.txt + rm -f $(zip) + zip $(zip) pgbouncer.exe pgbevent.dll doc/AUTHORS.txt doc/COPYRIGHT.txt doc/*.html + endif stripped: $(exe) $(dll) diff --git a/README b/README index e9c85bf..c610da1 100644 --- a/README +++ b/README @@ -40,8 +40,8 @@ Building for WIN32 ------------------ At the moment only build env tested is MINGW32 / MSYS. Cygwin -and Visual $ANYTHING are untested. In addition to libevent you -need GNU regex library (http://gnuwin32.sourceforge.net/packages/regex.htm[]). +and Visual $ANYTHING are untested. + Then do the usual: $ ./configure ...