summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/skak/makefile
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-01-22 23:06:20 +0000
committerKarl Berry <karl@freefriends.org>2014-01-22 23:06:20 +0000
commit7727dd41521eb7246835e1ac24a559a89deaef17 (patch)
tree764d533df5d5f46c97aff479519fa8103c8d9ed1 /Master/texmf-dist/doc/latex/skak/makefile
parentb3e544255a809f9dd960a88e868e317f3f6f6cff (diff)
skak (22jan14)
git-svn-id: svn://tug.org/texlive/trunk@32758 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/skak/makefile')
-rw-r--r--Master/texmf-dist/doc/latex/skak/makefile37
1 files changed, 23 insertions, 14 deletions
diff --git a/Master/texmf-dist/doc/latex/skak/makefile b/Master/texmf-dist/doc/latex/skak/makefile
index 61218d5c820..cacef853585 100644
--- a/Master/texmf-dist/doc/latex/skak/makefile
+++ b/Master/texmf-dist/doc/latex/skak/makefile
@@ -4,6 +4,7 @@
# Version: July 1999
SHELL = /bin/sh
+LATEX = latex
# where should the .sty and .tfm files go?
TEXMFROOT=$(HOME)/Library/texmf
@@ -14,13 +15,13 @@ DESTTFM=$(TEXMFROOT)/fonts/tfm/public/skak/
DESTSOURCE=$(TEXMFROOT)/fonts/source/public/skak/
DESTDOC=$(TEXMFROOT)/doc/latex/skak/
MFSKAKBASE= mf/skakbrikker.mf mf/skakbase.mf mf/skakinf.mf
-SKAKMACROS= skak10.600pk skak15.600pk skak20.600pk skak30.600pk skakf10.600pk skakf10b.600pk tex/skak.sty tex/lambda.sty
+SKAKMACROS= skak10.600pk skak15.600pk skak20.600pk skak30.600pk skakf10.600pk skakf10b.600pk tex/skak.sty
.SUFFIXES: .dvi .ps .600gf .600pk
all: fonts doc
-doc: skakdoc.ps tuggame.ps refman.ps informator.ps
+doc: skakdoc.pdf tuggame.pdf refman.pdf informator.pdf
fonts: skak10.600pk skak15.600pk skak20.600pk skak30.600pk skakf10.600pk skakf10b.600pk
@@ -44,27 +45,30 @@ skakinf.mf: mf/skakinf.mf
skakdoc.dvi: doc/skakdoc.tex $(SKAKMACROS)
(cp tex/*.sty .; \
- latex "\batchmode\input doc/skakdoc.tex" \
- latex "\batchmode\input doc/skakdoc.tex")
+ ${LATEX} "\batchmode\input doc/skakdoc.tex" \
+ ${LATEX} "\batchmode\input doc/skakdoc.tex")
tuggame.dvi: doc/tuggame.tex $(SKAKMACROS)
(cp tex/*.sty .; \
- latex "\batchmode\input doc/tuggame.tex" \
- latex "\batchmode\input doc/tuggame.tex")
+ ${LATEX} "\batchmode\input doc/tuggame.tex" \
+ ${LATEX} "\batchmode\input doc/tuggame.tex")
refman.dvi: doc/refman.tex $(SKAKMACROS)
(cp tex/*.sty .; \
- latex "\batchmode\input doc/refman.tex" \
- latex "\batchmode\input doc/refman.tex")
+ ${LATEX} "\batchmode\input doc/refman.tex" \
+ ${LATEX} "\batchmode\input doc/refman.tex")
informator.dvi: doc/informator.tex $(SKAKMACROS)
(cp tex/*.sty .; \
- latex "\batchmode\input doc/informator.tex" \
- latex "\batchmode\input doc/informator.tex")
+ ${LATEX} "\batchmode\input doc/informator.tex" \
+ ${LATEX} "\batchmode\input doc/informator.tex")
-.dvi.ps :
- dvips -o $@ $<
+%.pdf: %.dvi
+ dvipdf $<
+
+.dvi.pdf :
+ dvipdf -o $@ $<
.600gf.600pk:
gftopk $<
@@ -89,6 +93,12 @@ skakf10b.tfm skakf10b.600gf: mf/skakf10b.mf $(MFSKAKBASE) skakbase
(mf "\mode:=localfont; input mf/skakf10b")
install: fonts doc
+ install -d ${DESTPK}
+ install -d ${DESTGF}
+ install -d ${DESTTFM}
+ install -d ${DESTSOURCE}
+ install -d ${INPUTS}
+ install -d ${DESTDOC}
install skak*.600pk $(DESTPK)
install skak*.600gf $(DESTGF)
install skak*.tfm $(DESTTFM)
@@ -99,7 +109,6 @@ install: fonts doc
@echo "Remember to run texhash!"
clean:
rm -f *gf *pk *.ps *.dvi *.aux *.log *.tfm *.mf *.fd *.sty *.toc
-
-
+ rm -f test/*.dvi test/*.log test/*.aux