]> mj.ucw.cz Git - arexx.git/blobdiff - Makefile
Web: Cleanup
[arexx.git] / Makefile
index 6d5a256247018557e4418e02d29516bb410e5a4d..6dfee228d3721f40b4f1f4eae52af574699b241e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,6 @@
+VERSION=1.1
+ARCHIVE=arexxd-$(VERSION).tar.gz
+
 CC=gcc
 LD=gcc
 CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wredundant-decls -std=gnu99
@@ -8,3 +11,14 @@ all: arexxd
 clean:
        rm -f `find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core -or -name .depend -or -name .#*`
        rm -f arexxd
+
+install: all
+       install arexxd /usr/local/sbin/
+
+release:
+       git tag v$(VERSION)
+       git push --tags
+       git archive --format=tar --prefix=arexxd-$(VERSION)/ HEAD | gzip >$(ARCHIVE)
+       scp $(ARCHIVE) atrey:~ftp/pub/local/mj/linux/
+       ssh jw "cd www && bin/release-prog arexxd $(VERSION)"
+       mv $(ARCHIVE) ~/archives/mj/