diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/fnbreak/Makefile')
-rw-r--r-- | Master/texmf-dist/source/latex/fnbreak/Makefile | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/fnbreak/Makefile b/Master/texmf-dist/source/latex/fnbreak/Makefile new file mode 100644 index 00000000000..d630482adf3 --- /dev/null +++ b/Master/texmf-dist/source/latex/fnbreak/Makefile @@ -0,0 +1,78 @@ + +SRCDIR=fnbreak +INSTALLDIR=`kpsewhich --expand-path='$$TEXMFLOCAL'`/tex/latex/fnbreak +DOCDIR=`kpsewhich --expand-path='$$TEXMFLOCAL'`/doc/latex/fnbreak +VERSION=`grep -e '\\[.*\\]' fnbreak-v.tex | sed 's/ \\[[0-9/]* *\\([v0-9]*\\)\\.\\([0-9]*\\).*\\]/\\1_\\2/'` + + +.SUFFIXES: .sty .ins .dtx .dvi .ps + +.ins.sty: + latex $< + +.dtx.dvi: + latex $< + latex $< + makeindex -s gind.ist $(*D)/$(*F) + makeindex -s gglo.ist -o $(*D)/$(*F).gls $(*D)/$(*F).glo + latex $< + +.dvi.ps: + dvips -o $(*D)/$(*F).ps $(*D)/$(*F) + + +all: fnbreak fnbreak.dvi fnbreaktest.dvi ausgabe + +fnbreaktest.dvi: fnbreaktest.tex fnbreak.sty + latex fnbreaktest + + +fnbreak: fnbreak.sty + + + +clean: + @-rm -f fnbreak.{glo,gls,idx,ilg,ind,aux,log,toc} + @-rm -f fnbreaktest.{log,aux} + @-rm -f *~ + +distclean: clean + @-rm -f fnbreak.{sty,dvi,ps} + @-rm -f fnbreaktest.{dvi,ps} fnbreak-v.tex + +tar: all clean + echo Lege fnbreak-$(VERSION).tar.gz an + -rm -f fnbreak-$(VERSION).tar.gz + tar czCf .. fnbreak-$(VERSION).tar.gz \ + $(SRCDIR)/README \ + $(SRCDIR)/ChangeLog \ + $(SRCDIR)/Makefile \ + $(SRCDIR)/fnbreak.dtx \ + $(SRCDIR)/fnbreak.ins \ + $(SRCDIR)/fnbreak.dvi \ + $(SRCDIR)/fnbreaktest.tex \ + $(SRCDIR)/fnbreak.xml + +install: all + if [ ! -d $(INSTALLDIR) ]; then mkdirhier $(INSTALLDIR); fi + if [ ! -d $(DOCDIR) ]; then mkdirhier $(DOCDIR); fi + install -m644 fnbreak.sty $(INSTALLDIR) + install -m644 fnbreak.dvi $(DOCDIR) + texhash + +texlive: all clean + rm -rf texmf + mkdir -p texmf/tex/latex/fnbreak + mkdir -p texmf/doc/latex/fnbreak + mkdir -p texmf/source/latex/fnbreak + cp fnbreak.sty texmf/tex/latex/fnbreak + cp fnbreak.dvi README ChangeLog fnbreaktest.tex texmf/doc/latex/fnbreak + cp fnbreak.dtx fnbreak.ins fnbreak.xml texmf/source/latex/fnbreak + +ausgabe: + @echo "Please copy fnbreak.sty to a directory" + @echo "in the LaTeX search path" + + +fnbreak.sty: fnbreak.ins fnbreak.dtx + |