From 797553485b615f0a17b3d63226e618d1eb0c0364 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Thu, 31 May 2018 15:33:37 +0200 Subject: [PATCH] Makefile: Added dependencies on all parts of ucwmac --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 -- 2.39.2