diff options
author | Karl Berry <karl@freefriends.org> | 2015-05-11 20:54:14 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-05-11 20:54:14 +0000 |
commit | 584df13b52347fa68b9618c42e6d724c7f975143 (patch) | |
tree | 1b3e58512693fb6f70f61e7c0a10d7da71371305 /Master/texmf-dist/doc/latex/diadia/makefile | |
parent | eaf3393e6d9bac332929e5bcf9f9c661a02ed62c (diff) |
diadia (11may15)
git-svn-id: svn://tug.org/texlive/trunk@37330 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/diadia/makefile')
-rw-r--r-- | Master/texmf-dist/doc/latex/diadia/makefile | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/diadia/makefile b/Master/texmf-dist/doc/latex/diadia/makefile new file mode 100644 index 00000000000..162ddc303f4 --- /dev/null +++ b/Master/texmf-dist/doc/latex/diadia/makefile @@ -0,0 +1,63 @@ +TEXMF = $(shell kpsewhich -var-value TEXMFLOCAL) +RM = rm -f +PKGNAME = diadia + +all: package doc example + +doc: + pdflatex $(PKGNAME).dtx + bibtex $(PKGNAME) + makeindex -s gind.ist $(PKGNAME) + makeindex -s gglo.ist $(PKGNAME).glo -o $(PKGNAME).gls + pdflatex $(PKGNAME).dtx + bibtex $(PKGNAME) + makeindex -s gind.ist $(PKGNAME) + makeindex -s gglo.ist $(PKGNAME).glo -o $(PKGNAME).gls + pdflatex $(PKGNAME).dtx + makeindex -s gind.ist $(PKGNAME) + makeindex -s gglo.ist $(PKGNAME).glo -o $(PKGNAME).gls + pdflatex $(PKGNAME).dtx + +package: + pdftex $(PKGNAME).dtx + mv README.txt README + +example: + pdflatex $(PKGNAME)-example + pdflatex $(PKGNAME)-example + + +install: doc + mkdir -p ${TEXMF}/doc/latex/${PKGNAME} + cp README ${TEXMF}/doc/latex/${PKGNAME}/ + cp *.txt ${TEXMF}/doc/latex/${PKGNAME}/ + cp *.dat ${TEXMF}/doc/latex/${PKGNAME}/ + cp *.tex ${TEXMF}/doc/latex/${PKGNAME}/ + cp *.pdf ${TEXMF}/doc/latex/${PKGNAME}/ + mkdir -p ${TEXMF}/tex/latex/${PKGNAME} + cp *.sty ${TEXMF}/tex/latex/${PKGNAME}/ + cp *.trsl ${TEXMF}/tex/latex/${PKGNAME}/ + texhash + +uninstall: + rm -rf ${TEXMF}/doc/latex/${PKGNAME} + rm -rf ${TEXMF}/tex/latex/${PKGNAME} + texhash + +git: package + cp *.sty ./../tex/latex/${PKGNAME} + cp *.trsl ./../tex/latex/${PKGNAME} + +ctan: + ./copyCTAN + +clean: + $(RM) *.aux *.fdb_latexmk *.fls *.ind *.idx *.ilg *.glo *.gls \ + *.log *.lol *.m *.out *.tmp *.toc *.sh *.hd \ + *.bbl *.blg *.ins *.txt *.bib + +cleanall: clean + $(RM) $(PKGNAME).pdf $(PKGNAME)-example.pdf $(PKGNAME)-example.tex $(PKGNAME).sty \ + README *.dat *.trsl *.tex + +.PHONY: all doc package example install uninstall git ctan clean cleanall |