2 ARCHIVE=ucwmac-$(VERSION).tar.gz
4 all: test.pdf test-labels.pdf
6 MACROS=$(wildcard ucw*.tex)
14 %.pdf: %.tex $(MACROS) ucw-luacsplain.fmt
15 $(LUATEX) -file-line-error -fmt ucw-luacsplain $<
18 $(LUATEX) -file-line-error -jobname $* -ini $<
20 .SECONDARY: ucw-luacsplain.fmt
24 %.dvi: %.tex $(MACROS)
25 csplain -file-line-error $<
28 dvipdfm -r 600 -o $@ -p a4 $<
32 %.pdf: %.tex $(MACROS)
33 pdfcsplain -file-line-error $<
38 rm -f *~ *.log *.dvi *.ps *.pdf *.aux *.fmt
43 git archive --format=tar --prefix=ucwmac-$(VERSION)/ HEAD | gzip >$(ARCHIVE)
44 scp $(ARCHIVE) atrey:~ftp/pub/local/mj/tex/
45 ssh jw "cd web && bin/release-prog ucwmac $(VERSION)"
46 mv $(ARCHIVE) ~/archives/mj/