2 ARCHIVE=ucwmac-$(VERSION).tar.gz
4 all: test.pdf test-labels.pdf test-ref.pdf
6 MACROS=$(wildcard ucw*.tex)
14 %.pdf: %.tex $(MACROS) ucw-luacsplain.fmt
15 $(LUATEX) -file-line-error -fmt ucw-luacsplain $<
16 $(LUATEX) -file-line-error -fmt ucw-luacsplain $<
19 $(LUATEX) -file-line-error -jobname $* -ini $<
21 .SECONDARY: ucw-luacsplain.fmt
25 %.dvi: %.tex $(MACROS)
26 csplain -file-line-error $<
27 csplain -file-line-error $<
30 dvipdfm -r 600 -o $@ -p a4 $<
34 %.pdf: %.tex $(MACROS)
35 pdfcsplain -file-line-error $<
36 pdfcsplain -file-line-error $<
41 rm -f *~ *.log *.dvi *.ps *.pdf *.aux *.fmt
46 git archive --format=tar --prefix=ucwmac-$(VERSION)/ HEAD | gzip >$(ARCHIVE)
47 scp $(ARCHIVE) atrey:~ftp/pub/local/mj/tex/
48 ssh jw "cd web && bin/release-prog ucwmac $(VERSION)"
49 mv $(ARCHIVE) ~/archives/mj/