]> mj.ucw.cz Git - arexx.git/blobdiff - Makefile
make release: Reorganization of directory structure
[arexx.git] / Makefile
index 823a8c600e017d585b4d96a9ecd32e67cba2bd7d..1c1329759b565b6e71e0f617e1bc144623d85bee 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,10 @@
-VERSION=1.3
+VERSION=1.99
 ARCHIVE=arexxd-$(VERSION).tar.gz
 
 CC=gcc
 LD=gcc
-CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wredundant-decls -std=gnu99
-LDLIBS=-lusb-1.0 -lm -lrrd
+CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wredundant-decls -std=gnu99 -DAREXXD_VERSION='"$(VERSION)"'
+LDLIBS=-lusb-1.0 -lm -lrrd -lmosquitto
 
 all: arexxd
 
@@ -20,5 +20,5 @@ release:
        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/
+       ssh jw "cd web && bin/release-prog arexxd $(VERSION)"
+       mv $(ARCHIVE) ~/archives/sw/arexxd/