]> mj.ucw.cz Git - ucwmac.git/blobdiff - Makefile
Released as version 2.0 with no functional changes
[ucwmac.git] / Makefile
index 8ba18ab5b80374ae35587df280e23624c4a799f5..3fcb47e6d28c101b144a49828ea35f2d9bd1b96b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
-VERSION=1.1
+VERSION=2.0
 ARCHIVE=ucwmac-$(VERSION).tar.gz
 
-all: test.pdf test-labels.pdf
+all: test.pdf test-labels.pdf test-ref.pdf
 
 MACROS=$(wildcard ucw*.tex)
 
@@ -13,6 +13,7 @@ export LUAINPUTS=.//:
 
 %.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 $<
@@ -23,6 +24,7 @@ else ifdef USE_DVI
 
 %.dvi: %.tex $(MACROS)
        csplain -file-line-error $<
+       csplain -file-line-error $<
 
 %.pdf: %.dvi
        dvipdfm -r 600 -o $@ -p a4 $<
@@ -31,6 +33,7 @@ else
 
 %.pdf: %.tex $(MACROS)
        pdfcsplain -file-line-error $<
+       pdfcsplain -file-line-error $<
 
 endif
 
@@ -41,6 +44,6 @@ release:
        git tag v$(VERSION)
        git push --tags
        git archive --format=tar --prefix=ucwmac-$(VERSION)/ HEAD | gzip >$(ARCHIVE)
-       scp $(ARCHIVE) atrey:~ftp/pub/local/mj/tex/
+       scp $(ARCHIVE) jw:/srv/ftp/pub/mj/tex/
        ssh jw "cd web && bin/release-prog ucwmac $(VERSION)"
-       mv $(ARCHIVE) ~/archives/mj/
+       mv $(ARCHIVE) ~/archives/sw/ucwmac