]> mj.ucw.cz Git - ucwmac.git/blobdiff - Makefile
\pageoverlay and \commonoverlay avoid underfulls
[ucwmac.git] / Makefile
index 97fd81515405aa4510332232b441353ba7b8d3ef..61f6b1d2f89dabacc6954ee1106a9fded9701f44 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,24 @@
+VERSION=1.0
+ARCHIVE=ucwmac-$(VERSION).tar.gz
+
 all: test.ps
 
-include ../Makefile
+%.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/