Commit 4c95cf16 authored by Andreas Beckmann's avatar Andreas Beckmann

do not put the test build tree into TEXINPUTS

parent 2e32bf92
/src
/pdflatex
/xelatex
/lualatex
......@@ -2,7 +2,7 @@ PDFLATEX ?= pdflatex
XELATEX ?= xelatex
LUALATEX ?= lualatex
export TEXINPUTS := $(CURDIR)/..//:$(TEXINPUTS)
export TEXINPUTS := $(CURDIR)/src//:$(TEXINPUTS)
cmd%pdflatex = $(PDFLATEX)
cmd%xelatex = $(XELATEX)
......@@ -11,15 +11,15 @@ cmd%lualatex = $(LUALATEX)
engines = pdflatex xelatex lualatex
targets = minimal minimal_handout tutorial
%/minimal:
%/minimal: src
@mkdir -p $(@D)
cd $(@D) && $(cmd%$*) ../../minimal/minimal.tex
%/minimal_handout:
%/minimal_handout: src
@mkdir -p $(@D)
cd $(@D) && $(cmd%$*) ../../minimal/minimal_handout.tex
%/tutorial:
%/tutorial: src %/minimal %/minimal_handout
@mkdir -p $(@D)
cd $(@D) && $(cmd%$*) ../../tutorial/tutorial.tex
......@@ -28,6 +28,10 @@ all: $(engines)
$(foreach engine,$(engines),$(eval $(engine): $(patsubst %,$(engine)/%,$(targets))))
src:
mkdir -p $@
cd $@ && ln -s ../../*.sty ../../*.pdf .
clean:
$(RM) -r src
$(RM) -r $(engines)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment