X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=Makefile;h=0f1fe1da9361d02795ce84be7afc2dd538b80581;hb=a73ae30c274c2e64aaa92a8dc163b509a1fe0499;hp=97fd81515405aa4510332232b441353ba7b8d3ef;hpb=155771cc83387a3ff0f6e4c4ac7603fad2588bb2;p=ucwmac.git diff --git a/Makefile b/Makefile index 97fd815..0f1fe1d 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,24 @@ -all: test.ps +VERSION=1.0 +ARCHIVE=ucwmac-$(VERSION).tar.gz -include ../Makefile +all: test.pdf test-labels.pdf + +%.dvi: %.tex + csplain $< + +%.ps: %.dvi + dvips -D600 -o $@ -t a4 $< + +%.pdf: %.tex + pdfcsplain $< + +clean: + rm -f *~ *.log *.dvi *.ps *.aux + +release: + git tag v$(VERSION) + git push --tags + git archive --format=tar --prefix=ucwmac-$(VERSION)/ HEAD | gzip >$(ARCHIVE) + scp $(ARCHIVE) atrey:~ftp/pub/local/mj/tex/ + ssh jw "cd www && bin/release-prog ucwmac $(VERSION)" + mv $(ARCHIVE) ~/archives/mj/