From 8393bf721ce18461061077aaddf2c2f4429b5e0b Mon Sep 17 00:00:00 2001 From: Benjamin Weiss Date: Mon, 15 Jun 2015 16:01:26 +0200 Subject: [PATCH] added contributors.tex dependency to manual --- Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 457b560..933f960 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,6 @@ INS = mtheme.ins -PYTHON_SRC = contributors.py +CONTRIB_SRC = contributors.py +CONTRIB_TEX = contributors.tex DTX = $(wildcard *.dtx) STY = $(patsubst %.dtx,%.sty,$(wildcard beamer*.dtx)) TEXMFHOME = $(shell kpsewhich -var-value=TEXMFHOME) @@ -19,7 +20,7 @@ DOCKER_CONTAINER = latex-container .PHONY: clean install manual sty docker-run docker-rm -all: sty demo manual +all: sty demo contributors manual sty: $(DTX) $(INS) @latex $(INS) @@ -28,10 +29,10 @@ demo: $(STY) $(DEMO_SRC) $(TEXC) $(DEMO_SRC) @cp $(TEMP_DIR)/$(DEMO_PDF) . -contributors: $(PYTHON_SRC) - @python $(PYTHON_SRC) +$(CONTRIB_TEX):$(CONTRIB_SRC) + @python $(CONTRIB_SRC) -manual: $(MANUAL_SRC) +manual: $(MANUAL_SRC) $(CONTRIB_TEX) @$(TEXC) $(MANUAL_SRC) @cp $(TEMP_DIR)/$(MANUAL_PDF) .