]> mj.ucw.cz Git - edid.git/blobdiff - Makefile
edid-drm calls edid from its own directory
[edid.git] / Makefile
index f2f96c9ab845f6266f99e180a4de812790681cf4..7157ebfda9f992f91866f408873b03e22d8068fd 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,18 @@
 CC=gcc
 LD=gcc
 CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wredundant-decls -std=gnu99
+VERSION=1.1
+ARCHIVE=edid-$(VERSION).tar.gz
 
 all: edid
 
 clean:
        rm -f *.o edid
+
+release:
+       git tag v$(VERSION)
+       git push --tags
+       git archive --format=tar --prefix=edid-$(VERSION)/ HEAD | gzip >$(ARCHIVE)
+       scp $(ARCHIVE) atrey:~ftp/pub/local/mj/linux/
+       ssh jw "cd web && bin/release-prog edid $(VERSION)"
+       mv $(ARCHIVE) ~/archives/mj/