From: Marko Kreen Date: Mon, 28 Feb 2011 22:09:10 +0000 (+0200) Subject: make zip: move zip naming to separate target X-Git-Tag: pgbouncer_1_4_1_rc1~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=43e115f672ed910e69af99357416b002b9228e26;p=pgbouncer make zip: move zip naming to separate target otherwise it does not pick up correct version number from config.mak --- diff --git a/Makefile b/Makefile index 96954e0..e7576ce 100644 --- a/Makefile +++ b/Makefile @@ -224,15 +224,21 @@ zip = pgbouncer-$(PACKAGE_VERSION)-win32.zip zip: configure make distclean - ./configure i586-mingw32msvc --disable-debug --with-libevent=/opt/apps/win32 + ./configure i586-mingw32msvc --disable-debug --with-libevent=/opt/apps/win32 --enable-evdns make -C doc html make pgbouncer.exe pgbevent.dll cp COPYRIGHT doc/COPYRIGHT.txt cp AUTHORS doc/AUTHORS.txt + make packzip + +packzip: pgbouncer.exe rm -f $(zip) zip $(zip) pgbouncer.exe pgbevent.dll doc/AUTHORS.txt doc/COPYRIGHT.txt doc/*.html rm -f doc/AUTHORS.txt doc/COPYRIGHT.txt +zipupload: $(zip) + rsync $(zip) pgf:web/pgbouncer/htdocs/win32/ + stripped: $(exe) $(dll) $(STRIP) $(exe) $(dll)