From be615efb4b6af562caa9c5cbb7445e9718be189b Mon Sep 17 00:00:00 2001 From: Marko Kreen Date: Wed, 29 Sep 2010 14:47:32 -0700 Subject: [PATCH] zip generation for win32 --- Makefile | 13 +++++++++++++ README | 4 ++-- 2 files changed, 15 insertions(+), 2 deletions(-) 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 ... -- 2.50.1