]> granicus.if.org Git - pgbouncer/commitdiff
zip generation for win32
authorMarko Kreen <markokr@gmail.com>
Wed, 29 Sep 2010 21:47:32 +0000 (14:47 -0700)
committerMarko Kreen <markokr@gmail.com>
Thu, 30 Sep 2010 05:07:02 +0000 (22:07 -0700)
Makefile
README

index 675fbf69a5157cda3c38740c4b9637b35d100712..a4647f0ad726d95f4d4106ee607bc730104f470f 100644 (file)
--- 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 e9c85bf07751854624bc35cd1aa759c78184361e..c610da19df8ab1797387ada1e284acd5b659be8c 100644 (file)
--- 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 ...