diff options
author | Karl Berry <karl@freefriends.org> | 2012-04-09 17:06:36 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-04-09 17:06:36 +0000 |
commit | d07c8d47209341d677012804bf39382e7201943f (patch) | |
tree | 0ed21174f68333bd643c464ab609546510e938fb /Master/texmf-dist/doc/latex/bgteubner/Makefile.source | |
parent | b2d9bdf22108173c04fbf491122cb81daa8750af (diff) |
bgteubner (8apr12)
git-svn-id: svn://tug.org/texlive/trunk@25892 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/bgteubner/Makefile.source')
-rw-r--r-- | Master/texmf-dist/doc/latex/bgteubner/Makefile.source | 110 |
1 files changed, 110 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/bgteubner/Makefile.source b/Master/texmf-dist/doc/latex/bgteubner/Makefile.source new file mode 100644 index 00000000000..772c029bf0b --- /dev/null +++ b/Master/texmf-dist/doc/latex/bgteubner/Makefile.source @@ -0,0 +1,110 @@ +## bgteubner class bundle +## +## Makefile +## Copyright 2003--2008 Harald Harders +# +# This program may be distributed and/or modified under the +# conditions of the LaTeX Project Public License, either version 1.3 +# of this license or (at your opinion) any later version. +# The latest version of this license is in +# http://www.latex-project.org/lppl.txt +# and version 1.3 or later is part of all distributions of LaTeX +# version 1999/12/01 or later. +# +# This program consists of all files listed in manifest.txt. + +SRCDIR=bgteubner +INSTALLDIR=`kpsewhich --expand-path='$$TEXMFLOCAL'`/tex/latex/bgteubner +PTMXCOMPDIR=`kpsewhich --expand-path='$$TEXMFLOCAL'`/tex/latex/ptmxcomp +DOCDIR=`kpsewhich --expand-path='$$TEXMFLOCAL'`/doc/latex/bgteubner +IDXDIR=`kpsewhich --expand-path='$$TEXMFLOCAL'`/makeindex/bgteubner +BSTDIR=`kpsewhich --expand-path='$$TEXMFLOCAL'`/bibtex/bst/bgteubner +VERSION=`latex getversion | grep '^VERSION' | sed 's/^VERSION \\(.*\\)\\.\\(.*\\)/\\1_\\2/'` + +.SUFFIXES: .sty .ins .dtx .dvi .ps .pdf .cls .bst .ist + +.ins.cls: + latex $< + +.dtx.pdf: + pdflatex $< + pdflatex $< + makeindex -s gind.ist $(*D)/$(*F) + makeindex -s gglo.ist -o $(*D)/$(*F).gls $(*D)/$(*F).glo + pdflatex $< + cp $(*D)/$(*F).pdf ../doc/ + +.dvi.ps: + dvips -o $(*D)/$(*F).ps $(*D)/$(*F) + + +all: bgteubner.cls bgteucls.pdf cdcover.pdf + +bgteubner.cls: bgteucls.ins bgteucls.dtx + latex bgteucls.ins + +bgteucls.pdf: bgteucls.dtx bgteucls.ins + +cdcover.pdf: cdcover.tex + @if [ "`kpsewhich cd-cover.sty`" ]; then pdflatex cdcover; fi + +clean: + @-rm -f bgteucls.glo bgteucls.gls bgteucls.idx bgteucls.ilg + @-rm -f bgteucls.ind bgteucls.aux bgteucls.log bgteucls.toc + @-rm -f bgteucls.dvi getversion.log + @-rm -f *~ + +distclean: clean + @-rm -f bgteucls.pdf + @-rm -f bgteubner.cls bgteubner.ist bgteuversion.tex + @-rm -f bgteuglo.ist bgteuglochar.ist bgteu*.bst + @-rm -f cdcover.aux cdcover.log cdcover.tex cdcover.pdf + +tar: all clean + if [ ! -f "../bgteubner" ]; then (cd .. ; ln -s source bgteubner ); fi + echo Generate bgteubner-$(VERSION).tar.gz + -rm -f bgteubner-$(VERSION).tar.gz + tar czCf .. bgteubner-$(VERSION).tar.gz \ + $(SRCDIR)/Makefile \ + $(SRCDIR)/bgteucls.dtx \ + $(SRCDIR)/bgteucls.ins \ + $(SRCDIR)/ptmxcomp.sty \ + $(SRCDIR)/ChangeLog \ + $(SRCDIR)/getversion.tex + rm -f getversion.log ../bgteubner + +install: all + if [ ! -d $(INSTALLDIR) ]; then mkdirhier $(INSTALLDIR); fi + if [ ! -d $(PTMXCOMPDIR) ]; then mkdirhier $(PTMXCOMPDIR); fi + if [ ! -d $(DOCDIR) ]; then mkdirhier $(DOCDIR); fi + if [ ! -d $(IDXDIR) ]; then mkdirhier $(IDXDIR); fi + if [ ! -d $(BSTDIR) ]; then mkdirhier $(BSTDIR); fi + install -m644 bgteubner.cls $(INSTALLDIR) + install -m644 ptmxcomp.sty $(PTMXCOMPDIR) + install -m644 bgteucls.pdf $(DOCDIR) + install -m644 ../doc/bgteubner-17x24-times.pdf $(DOCDIR)/bgteubner.pdf + install -m644 bgteubner.ist $(IDXDIR) + install -m644 bgteuglo.ist $(IDXDIR) + install -m644 bgteuglochar.ist $(IDXDIR) + install -m644 bgteu*.bst $(BSTDIR) + texhash + +zip: all + -@rm -f bgteubner-$(VERSION).zip + -@rm -f ../pakete/bgteubner-v*.zip + mkdirhier tex/latex/bgteubner + mkdirhier tex/latex/ptmxcomp + mkdirhier makeindex/bgteubner + mkdirhier bibtex/bst/bgteubner + mkdirhier doc/latex/bgteubner + mkdirhier source/latex/bgteubner + cp bgteubner.cls tex/latex/bgteubner/ + cp ptmxcomp.sty tex/latex/ptmxcomp/ + cp bgteubner.ist bgteuglo.ist bgteuglochar.ist makeindex/bgteubner/ + cp bgteu*.bst bibtex/bst/bgteubner/ + cp bgteucls.pdf ChangeLog doc/latex/bgteubner/ + cp Makefile bgteucls.ins bgteucls.dtx getversion.tex source/latex/bgteubner/ + zip -r bgteubner-$(VERSION).zip tex makeindex bibtex doc source + rm -rf tex makeindex bibtex doc source + cp bgteubner-$(VERSION).zip ../pakete + rm -f getversion.log |