From: Martin Mares Date: Thu, 31 May 2018 13:33:37 +0000 (+0200) Subject: Makefile: Added dependencies on all parts of ucwmac X-Git-Tag: v1.99~1^2~47 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=797553485b615f0a17b3d63226e618d1eb0c0364;p=ucwmac.git Makefile: Added dependencies on all parts of ucwmac --- diff --git a/Makefile b/Makefile index f82f86b..6769095 100644 --- a/Makefile +++ b/Makefile @@ -3,13 +3,15 @@ ARCHIVE=ucwmac-$(VERSION).tar.gz all: test.pdf test-labels.pdf +MACROS=$(wildcard ucw*.tex) + ifdef USE_LUATEX LUATEX?=luatex export TEXINPUTS=.//: export LUAINPUTS=.//: -%.pdf: %.tex ucw-luacsplain.fmt +%.pdf: %.tex $(MACROS) ucw-luacsplain.fmt $(LUATEX) -file-line-error -fmt ucw-luacsplain $< %.fmt: %.ini @@ -17,7 +19,7 @@ export LUAINPUTS=.//: else ifdef USE_DVI -%.dvi: %.tex +%.dvi: %.tex $(MACROS) csplain -file-line-error $< %.pdf: %.dvi @@ -25,7 +27,7 @@ else ifdef USE_DVI else -%.pdf: %.tex +%.pdf: %.tex $(MACROS) pdfcsplain -file-line-error $< endif