]> mj.ucw.cz Git - suidgw.git/blobdiff - Makefile
Released as version 1.3
[suidgw.git] / Makefile
index 8aded27ffce1b53767cb4d7136937beaec438921..77d6c4563256d05b57b6259e04bce817d05173db 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,4 @@
+VERSION=1.3
 CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wredundant-decls -std=gnu99
 DESTDIR=/
 
@@ -16,3 +17,12 @@ install: all
 
 clean:
        rm -f suidgw *.o
+
+release:
+       git tag v$(VERSION)
+       git push --tags
+       git archive --format=tar --prefix=suidgw-$(VERSION)/ HEAD | gzip >suidgw-$(VERSION).tar.gz
+       rsync suidgw-$(VERSION).tar.gz jw:/home/ftp/pub/mj/linux/
+       ssh jw 'cd web && bin/release-prog suidgw $(VERSION)'
+
+.PHONY: all test-setup install release