]> mj.ucw.cz Git - ucwmac.git/blob - Makefile
d61e575d3ca178b548ee0780708856000a7fe303
[ucwmac.git] / Makefile
1 VERSION=0.1
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 ucwmac-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         scp jw "cd www && bin/release-prog ucwmac $(VERSION)"
24         mv $(ARCHIVE) ~/archives/mj/