summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/xq/Makefile
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-09-19 22:31:04 +0000
committerKarl Berry <karl@freefriends.org>2014-09-19 22:31:04 +0000
commit14110eeeae7c60b3388b0603c181b2a8e6b21ddc (patch)
tree10c6b74e3aed8a7a25249c90c7b4e6d485e2bed1 /Master/texmf-dist/doc/fonts/xq/Makefile
parent64986eb304bbf89af01c834d4bb33d3aa61264db (diff)
xq (19sep14)
git-svn-id: svn://tug.org/texlive/trunk@35211 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/fonts/xq/Makefile')
-rw-r--r--Master/texmf-dist/doc/fonts/xq/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/fonts/xq/Makefile b/Master/texmf-dist/doc/fonts/xq/Makefile
new file mode 100644
index 00000000000..7592afaa40d
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/xq/Makefile
@@ -0,0 +1,30 @@
+XQ_0_3_STY = /usr/share/texmf-dist/tex/latex/xq/xq.sty
+
+all: xqexample.pdf bugs-0-3.pdf
+
+tmp:
+ mkdir $@
+
+xqexample.pdf: xqexample.tex xq.sty | tmp
+ pdflatex -output-directory tmp $<
+ mv -f tmp/$@ $@
+
+xq-0-3.sty:
+ test -L "${XQ_0_3_STY}" -o -f "${XQ_0_3_STY}"
+ ln -s "${XQ_0_3_STY}" $@
+
+bugs-0-3.pdf: bugs-0-3.tex | tmp xq-0-3.sty
+ for i in 1 2 ; do pdflatex -output-directory tmp $< || exit 1 ; done
+ pdflatex -output-directory tmp $<
+ mv -f tmp/$@ $@
+
+clean:
+ rm -Rf tmp
+ rm -f xqexample.pdf bugs-0-3.pdf xq.zip xq-0-3.sty
+
+dist: all
+ test $$(basename $${PWD}) == xq
+ rm -f xq.zip
+ cd .. && zip -9 xq/xq.zip xq/{xq.sty,xq*.mf,{xqexample,bugs-0-3}.{tex,pdf},ChangeLog,README,Makefile}
+
+.PHONY: all dist clean