VERSION=1.0 ARCHIVE=ucwmac-$(VERSION).tar.gz all: test.ps %.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/