diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-09 00:40:28 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-09 00:40:28 +0000 |
commit | fd423d0bb64fe29a2be1fbae5baaf4bc386cc274 (patch) | |
tree | 6bf20bbdf3d9741134f6ea40b30c1b3722fa0cd1 /Master/texmf-dist/doc/fontname/Makefile | |
parent | 0afd1aaf73fc909c6604939dcaf4ccc983b7277e (diff) |
doc 1
git-svn-id: svn://tug.org/texlive/trunk@77 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/fontname/Makefile')
-rw-r--r-- | Master/texmf-dist/doc/fontname/Makefile | 100 |
1 files changed, 100 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/fontname/Makefile b/Master/texmf-dist/doc/fontname/Makefile new file mode 100644 index 00000000000..e398d947952 --- /dev/null +++ b/Master/texmf-dist/doc/fontname/Makefile @@ -0,0 +1,100 @@ +# Makefile for the fontname document. + +# For make install. +prefix = /usr/local +infodir = $(prefix)/info +datadir = $(prefix)/share +texmf = $(datadir)/texmf +fontnamedir = $(texmf)/fontname +psheaderdir = $(texmf)/dvips + +INSTALL = install -c +INSTALL_DATA = $(INSTALL) -m 664 + +MAKEINFO = /usr/local/gnu/bin/makeinfo +MAKEINFO_FLAGS = --no-split +TEXI2DVI = texi2dvi +TEXI2PDF = texi2dvi --pdf +TEXI2HTML = $(MAKEINFO) --html +#TEXI2HTML = texi2html +#TEXI2HTML_FLAGS = -split_chapter -menu + +SHELL = /bin/sh + +doc = fontname + +default doc all: $(doc).info $(doc)/index.html $(doc).html $(doc).dvi $(doc).pdf + +dvi $(doc).dvi: $(doc).texi *.map *.enc + $(TEXI2DVI) $(doc).texi + +info $(doc).info: $(doc).texi *.map *.enc + $(MAKEINFO) $(MAKEINFO_FLAGS) $< + +$(doc).html: $(doc).texi *.map *.enc + $(TEXI2HTML) --no-split $(doc).texi + +$(doc)/index.html: $(doc).texi *.map *.enc + $(TEXI2HTML) -o html $(doc).texi + +pdf $(doc).pdf: $(doc).texi *.map *.enc + $(TEXI2PDF) $(doc).texi + for f in $(doc).??; do test -s $$f || rm $$f; done; rm -f $(doc).log + +install: info + $(SHELL) mkdirchain $(fontnamedir) $(psheaderdir) $(infodir) + for m in *.map; do $(INSTALL_DATA) $$m $(fontnamedir)/$$m; done + for e in *.enc; do $(INSTALL_DATA) $$e $(psheaderdir)/$$e; done + for i in $(doc).info*; do $(INSTALL_DATA) $$i $(infodir)/$$i; done + +# Prevent GNU make 3 from overflowing arg limit on system V. +.NOEXPORT: + +distdir = $(fontname)/fontname +toplevel = $(addprefix ../, \ + ChangeLog Makefile NEWS README *.enc *.texi *.map *.aka) + +dist: $(doc).info check distclean + -grep ' ' *.map # check for tabs + rm -rf $(distdir) + mkdir -p $(distdir) + cd $(distdir) && ln -s $(toplevel) . + cd $(distdir) && ln -s $(txinfo)/doc/texinfo.tex $(HOME)/bin/mkdirchain . +# Have to add version number and date before making the Info file. + (cd $(distdir) && \ + add-version $(version) $(doc).texi; \ + add-date $(doc).texi; \ + fix-checksum $(doc).texi; \ + $(MAKE) doc distclean; \ + ln -s fontname_toc.html index.html; \ + mv $(doc).texi $(doc)-$(version).texi; \ + ln -s $(doc)-$(version).texi $(doc).texi) + cd $(distdir)/..; basedir=$(notdir $(distdir)); \ + GZIP=-9 tar chzf $$basedir.tar.gz $$basedir +# rm -rf $(distdir) + +mostlyclean clean: + rm -f $(doc).?? *.log #*.dvi + +distclean: clean + for f in $(doc).??s; do test -s $$f || rm -f $$f; done + +extraclean: distclean + rm -f *~ \#* patch* *.orig *.rej *.bak *.ckp core a.out + +maintainer-clean realclean: distclean + rm -f *.info* $(doc).??? + +old-check: + rm -rf testhier + mkdir testhier + for s in `sed '/^%/d' supplier.map | awk '{print $$2}'`; do \ + mkdir testhier/$$s; done + for t in `sed '/^%/d' typeface.map | awk '{print $$2}'`; do \ + mkdir testhier/unknown/$$t; done + find testhier | doschk + rm -rf testhier + +check: + grep -vh "^@" `ls -1 *.map | egrep -v '(softkey.*|texfonts).map'` | sort | uniq -dw 9 + -grep ' ' *.map *.texi *.enc |