]> mj.ucw.cz Git - osdd.git/blobdiff - Makefile
clean: osd-batt
[osdd.git] / Makefile
index 7123fa3e085290c249c6c5e28acd1f2cace210fb..40b135a094c2ba50ae6ad1f4f92a1dbae738a15f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -16,9 +16,11 @@ osdc: LDFLAGS+=-lX11
 osd-batt: LDFLAGS+=-lX11
 
 clean:
-       rm -f *~ *.o TAGS core osdd osdc
+       rm -f *~ *.o TAGS core osdd osdc osd-batt
 
 release:
+       git tag v$(VERSION)
+       git push --tags
        git archive --format=tar --prefix=osdd-$(VERSION)/ HEAD | gzip >$(ARCHIVE)
        scp $(ARCHIVE) atrey:~ftp/pub/local/mj/linux/
        ssh jw "cd www && bin/release-prog osdd $(VERSION)"