Commit 716ded91 authored by Bernhard Heinloth's avatar Bernhard Heinloth
Browse files

Let latexmk decide if rebuild is necessary

parent a6adb220
......@@ -38,7 +38,7 @@ $(PACKAGE_TGT): $(wildcard $(PACKAGE_DIR)/*.ins) $(PACKAGE_SRC)
@cd $(PACKAGE_DIR) && latex -output-directory=$(CACHE_DIR) $(notdir $<)
@cp $(addprefix $(CACHE_DIR)/,$(PACKAGE_STY)) $(LOCAL_DIR)/
%.pdf: %.tex $(wildcard *.bib) $(PACKAGE_TGT)
%.pdf: %.tex $(wildcard *.bib) $(PACKAGE_TGT)
@mkdir -p $(CACHE_DIR)
@cd $(dir $< ) && $(COMPILE_TEX) $(notdir $<)
@cp $(CACHE_DIR)/$(notdir $@) $@
......@@ -50,3 +50,5 @@ pdfpc-%: %.pdf
evince-%: %.pdf
@evince $<
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