-VERSION=1.1
+VERSION=1.99
ARCHIVE=ucwmac-$(VERSION).tar.gz
-all: test.pdf test-labels.pdf
+all: test.pdf test-labels.pdf test-ref.pdf
MACROS=$(wildcard ucw*.tex)
%.pdf: %.tex $(MACROS) ucw-luacsplain.fmt
$(LUATEX) -file-line-error -fmt ucw-luacsplain $<
+ $(LUATEX) -file-line-error -fmt ucw-luacsplain $<
%.fmt: %.ini
$(LUATEX) -file-line-error -jobname $* -ini $<
+.SECONDARY: ucw-luacsplain.fmt
+
else ifdef USE_DVI
%.dvi: %.tex $(MACROS)
csplain -file-line-error $<
+ csplain -file-line-error $<
%.pdf: %.dvi
dvipdfm -r 600 -o $@ -p a4 $<
%.pdf: %.tex $(MACROS)
pdfcsplain -file-line-error $<
+ pdfcsplain -file-line-error $<
endif