From 8426f2f279433d24b728794ac831f060cb45e7ea Mon Sep 17 00:00:00 2001 From: Marko Kreen Date: Tue, 20 Dec 2011 17:13:26 +0200 Subject: [PATCH] make zip: shortcut to build -win32.zip --- Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Makefile b/Makefile index 4fb7773..fc87c03 100644 --- a/Makefile +++ b/Makefile @@ -110,3 +110,15 @@ config.mak: deb: debuild -b -us -uc +zip: configure clean + rm -rf buildexe + mkdir buildexe + cd buildexe \ + && ../configure --host=i586-mingw32msvc --disable-debug \ + --with-libevent=/opt/apps/win32 --enable-evdns \ + && make \ + && i586-mingw32msvc-strip pgbouncer.exe pgbevent.dll \ + && zip pgbouncer.zip pgbouncer.exe pgbevent.dll doc/*.html + zip -l buildexe/pgbouncer.zip etc/pgbouncer.ini etc/userlist.txt + mv buildexe/pgbouncer.zip pgbouncer-$(PACKAGE_VERSION)-win32.zip + -- 2.40.0