summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/lshort-chinese/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/lshort-chinese/src/Makefile')
-rw-r--r--Master/texmf-dist/doc/latex/lshort-chinese/src/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/Master/texmf-dist/doc/latex/lshort-chinese/src/Makefile b/Master/texmf-dist/doc/latex/lshort-chinese/src/Makefile
index b827501474f..0ee48b69f46 100644
--- a/Master/texmf-dist/doc/latex/lshort-chinese/src/Makefile
+++ b/Master/texmf-dist/doc/latex/lshort-chinese/src/Makefile
@@ -3,7 +3,7 @@ PDF = $(LSHORT).pdf
REQUIRE = $(LSHORT).tex $(LSHORT)-style.sty $(LSHORT)-layout.tex $(LSHORT).ist
TEMP = $(LSHORT).{aux,log,idx,ind,ilg,out,toc,los,synctex.gz} $(LSHORT)-example.aux
-TEX = xelatex
+TEX = latexmk -xelatex
MODE = -interaction=nonstopmode -synctex=1
MAKEIDX = makeindex
@@ -12,19 +12,16 @@ INSTALL = cp
all: $(PDF)
-$(PDF): $(REQUIRE)
- $(TEX) $(MODE) $(LSHORT)
- $(MAKEIDX) -s $(LSHORT).ist $(LSHORT)
- $(TEX) $(MODE) $(LSHORT)
+$(PDF): $(REQUIRE) FORCE_MAKE
$(TEX) $(MODE) $(LSHORT)
install: all
$(INSTALL) $(LSHORT).pdf ..
clean:
- $(RM) $(TEMP) $(LSHORT).pdf
+ $(TEX) -C $(LSHORT).tex
distclean: clean
$(RM) ../$(LSHORT).pdf
-.PHONY: all install clean distclean \ No newline at end of file
+.PHONY: all install clean distclean FORCE_MAKE