mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-21 16:55:07 -05:00
Fix intermediate build bug in a better way
This commit is contained in:
parent
546272f4c5
commit
2aaaf62547
7
Makefile
7
Makefile
@ -1,4 +1,5 @@
|
||||
.SILENT:
|
||||
.SECONDARY:
|
||||
|
||||
OUTDIR?=build
|
||||
REFSDIR?=$(OUTDIR)/refs
|
||||
@ -80,12 +81,10 @@ $(OUTDIR)/%.pdf: %.xml $(XMLDEPS) $(TEXMLDEPS)
|
||||
-e 's|\\pageref{#\([^}]*\)}|\\pageref{\1}|g' "$(@:.pdf=.tex)"
|
||||
cd $(OUTDIR); xelatex -interaction=batchmode -no-shell-escape "$(notdir $(basename $@)).tex" && echo "Finished building $@"
|
||||
|
||||
.PRECIOUS: $(OUTDIR)/%.js
|
||||
$(OUTDIR)/%.js: %.js
|
||||
$(OUTDIR)/%.js: %.js $(OUTDIR)
|
||||
cp "$<" "$@"
|
||||
|
||||
.PRECIOUS: $(OUTDIR)/%.css
|
||||
$(OUTDIR)/%.css: %.css
|
||||
$(OUTDIR)/%.css: %.css $(OUTDIR)
|
||||
cp "$<" "$@"
|
||||
|
||||
$(EXAMPLESDIR) $(REFSDIR) $(OUTDIR):
|
||||
|
Loading…
Reference in New Issue
Block a user