]> mj.ucw.cz Git - ucwmac.git/blob - Makefile
Use CMTypewriter for \tt
[ucwmac.git] / Makefile
1 VERSION=1.0
2 ARCHIVE=ucwmac-$(VERSION).tar.gz
3
4 all: test.ps
5
6 %.dvi: %.tex
7         csplain $<
8
9 %.ps: %.dvi
10         dvips -D600 -o $@ -t a4 $<
11
12 %.pdf: %.tex
13         pdfcsplain $<
14
15 clean:
16         rm -f *~ *.log *.dvi *.ps *.aux
17
18 release:
19         git tag v$(VERSION)
20         git push --tags
21         git archive --format=tar --prefix=ucwmac-$(VERSION)/ HEAD | gzip >$(ARCHIVE)
22         scp $(ARCHIVE) atrey:~ftp/pub/local/mj/tex/
23         ssh jw "cd www && bin/release-prog ucwmac $(VERSION)"
24         mv $(ARCHIVE) ~/archives/mj/