diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-11 23:53:45 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-11 23:53:45 +0000 |
commit | 9550a156059a7fa4b7de6ee8350486bf8d5e4e4b (patch) | |
tree | 38404633d22752692d7ed39a6d3e2bf66da65234 /Master/texmf-dist/source/latex/ginpenc/Makefile | |
parent | af35443030382afccdd685177cb11dcf161b5a4d (diff) |
trunk/Master/texmf-dist/source/latex/ginpenc
git-svn-id: svn://tug.org/texlive/trunk@309 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/ginpenc/Makefile')
-rw-r--r-- | Master/texmf-dist/source/latex/ginpenc/Makefile | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/ginpenc/Makefile b/Master/texmf-dist/source/latex/ginpenc/Makefile new file mode 100644 index 00000000000..f2ffecdaedf --- /dev/null +++ b/Master/texmf-dist/source/latex/ginpenc/Makefile @@ -0,0 +1,75 @@ + +SRCDIR=ginpenc +INSTALLDIR=`kpsewhich --expand-path='$$TEXMFLOCAL'`/tex/latex/ginpenc +DOCDIR=`kpsewhich --expand-path='$$TEXMFLOCAL'`/doc/latex/ginpenc +VERSION=`grep '^\\\\def\\\\giefileversion' ginpenc.sty | sed 's/^\\\\def\\\\giefileversion{\\(.*\\)\\.\\(.*\\)}/\\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 $< + + +all: ginpenc ginpenc.dvi ausgabe + + +ginpenc: ginpenc.sty + +ginpenc.sty: ginpenc.dtx ginpenc.ins + + + +clean: + @-rm -f ginpenc.{glo,gls,idx,ilg,ind,aux,log,toc} + @-rm -f testginpenc.{log,aux} + @-rm -f *~ *.aux *.idx *.log + +distclean: clean + @-rm -f ginpenc.{dvi,ps,sty} + @-rm -f testginpenc.{dvi,ps} + @-rm -f testginpenc.dvi + @-rm -f *.gie + + +tar: all clean + echo Lege ginpenc-$(VERSION).tar.gz an + -rm -f ginpenc-$(VERSION).tar.gz + tar czCf .. ginpenc-$(VERSION).tar.gz \ + $(SRCDIR)/Makefile \ + $(SRCDIR)/README \ + $(SRCDIR)/ginpenc.dtx \ + $(SRCDIR)/ginpenc.dvi \ + $(SRCDIR)/ginpenc.ins \ + $(SRCDIR)/ginpenc.xml \ + $(SRCDIR)/news-message.txt \ + $(SRCDIR)/testginpenc.tex + +zip: all + mkdirhier tex/latex/ginpenc + mkdirhier doc/latex/ginpenc + mkdirhier source/latex/ginpenc + cp ginpenc.sty *.gie tex/latex/ginpenc/ + cp ginpenc.dvi testginpenc.tex news-message.txt README doc/latex/ginpenc/ + cp ginpenc.ins ginpenc.dtx Makefile source/latex/ginpenc/ + @rm -f ginpenc-$(VERSION).zip + zip -r ginpenc-$(VERSION) tex doc source + rm -rf tex doc source + +install: all + if [ ! -d $(INSTALLDIR) ]; then mkdirhier $(INSTALLDIR); fi + install -m644 ginpenc.sty *.hhe $(INSTALLDIR) + texhash + +ausgabe: + @echo "Please copy ginpenc.sty to a directory" + @echo "in the LaTeX search path" + + |