Commit ae568d49 authored by Bernhard Heinloth's avatar Bernhard Heinloth
Browse files

Let latexmk decide if a rebuild is necessary

parent 83e74d8b
Pipeline #46050 passed with stage
in 31 seconds
......@@ -41,7 +41,7 @@ $(PACKAGE_TGT): $(wildcard $(PACKAGE_DIR)/*.ins) $(PACKAGE_SRC) | $(CACHE_DIR)
$(CACHE_DIR):; @mkdir -p $(CACHE_DIR)
%_handout.pdf %.pdf: %.tex $(wildcard *.bib) $(PACKAGE_TGT) | $(CACHE_DIR)
%_handout.pdf %.pdf: %.tex $(wildcard *.bib) $(PACKAGE_TGT) FORCE | $(CACHE_DIR)
@test -f $@ && touch $@ || true
@cd $(dir $< ) && $(COMPILE_TEX) -jobname=$(basename $@) $(notdir $<)
@cp $(CACHE_DIR)/$(notdir $@) $@
......
Supports Markdown
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