summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pkuthss/readme/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/pkuthss/readme/Makefile')
-rw-r--r--Master/texmf-dist/doc/latex/pkuthss/readme/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/pkuthss/readme/Makefile b/Master/texmf-dist/doc/latex/pkuthss/readme/Makefile
new file mode 100644
index 00000000000..be9db6d636f
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/pkuthss/readme/Makefile
@@ -0,0 +1,38 @@
+# vim:ts=4:sw=4
+#
+# Copyright (c) 2008-2009 solvethis
+# Copyright (c) 2010-2012,2014 Casper Ti. Vector
+# Public domain.
+
+JOBNAME = pkuthss
+BIBTEX = biber -l zh__pinyin
+DVIPDF = dvipdfmx
+MAKE = make
+RM = rm -f
+
+ifndef LATEX
+ LATEX1 = latex
+ LATEX2 = xelatex
+else
+ LATEX1 = $(LATEX)
+ LATEX2 = $(LATEX)
+endif
+
+ifeq ($(LATEX), latex)
+ DODVIPDF = $(DVIPDF) $(JOBNAME)
+endif
+
+doc:
+ $(LATEX1) $(JOBNAME)
+ $(BIBTEX) $(JOBNAME)
+ $(LATEX2) $(JOBNAME)
+ $(LATEX2) $(JOBNAME)
+ $(DODVIPDF)
+
+clean:
+ $(RM) $(JOBNAME).{aux,bbl,bcf,blg,dvi,lof,log,lot,run.xml,toc,out{,.bak}} \
+ {missfont,texput}.log chap/*.aux
+
+distclean: clean
+ $(RM) $(JOBNAME).pdf
+