diff options
Diffstat (limited to 'fonts/greek/kd/Makefile')
-rw-r--r-- | fonts/greek/kd/Makefile | 153 |
1 files changed, 153 insertions, 0 deletions
diff --git a/fonts/greek/kd/Makefile b/fonts/greek/kd/Makefile new file mode 100644 index 0000000000..5b0c68205a --- /dev/null +++ b/fonts/greek/kd/Makefile @@ -0,0 +1,153 @@ +# ===================================================================== +# General Unix Makefile For GreekTeX Package +# ===================================================================== + + +# ===================================================================== +# SITE MODIFICATION PART (modify that according to your site) +# ===================================================================== +# +# what shell are you using? +SHELL = /bin/sh +# where are your tex binaries +BINDIR = /usr/local/lptex/bin +# how is the program that creates a new font called +NEWFONT = unix/newfont -o +# the switch in order to specify to NEWFONT the scale of the font +NEWFONTSCALESWITCH = -s +# where your style files are placed +STYDIR = /usr/local/lptex/lib/macros +# where are your mf files placed +MFDIR = /usr/local/lptex/lib/mfmacros +# where are your format files +FMTDIR = /usr/local/lptex/lib/formats +# where should the man pages go? +MANDIR = /usr/local/lptex/lib/man/man1 +# +# ===================================================================== +# Please do not modify these parameters +# ===================================================================== + + +MAG750 = kdgr8 kdbf8 +MAG800 = kdsl10 kdti10 kdtt10 +MAG900 = $(MAG800) +MAG1000 = kdgr8 kdgr9 kdgr10 kdbf8 kdbf9 kdbf10 kdsl10 kdti10 kdtt10 +MAG1095 = kdgr8 kdgr9 kdgr10 kdbf8 kdbf9 kdbf10 kdsl10 kdti10 kdtt10 +MAG1200 = kdgr8 kdgr9 kdgr10 kdbf8 kdbf9 kdbf10 kdsl10 kdti10 kdtt10 +MAG1440 = kdgr8 kdgr9 kdgr10 kdbf8 kdbf9 kdbf10 kdsl10 kdti10 kdtt10 +MAG1795 = kdgr8 kdgr9 kdgr10 kdbf8 kdbf9 kdbf10 kdsl10 kdti10 kdtt10 + +# ===================================================================== +# Installation +# ===================================================================== + +all: install.fonts install + +install.fonts: fonts + +install: dirhier install.formats install.macros install.bin install.man + +install.formats: formats + -cp build/formats/greek.fmt $(FMTDIR) + -cp build/formats/lgreek.fmt $(FMTDIR) + +install.macros: + -cp tex/*.tex $(STYDIR) + -cp latex/*.sty $(STYDIR) + -cp latex/*.tex $(STYDIR) + +install.bin: + -cp unix/newfont $(BINDIR) + -cp unix/greektex $(BINDIR) + -cp unix/grlatex $(BINDIR) + +install.man: + -cp doc/grlatex.1 $(MANDIR) + + +# ===================================================================== +# Auxiliary tasks +# ===================================================================== + +clean: + -rm -rf build + +dirhier: + -(if [ ! -d build ] ; then mkdir build; fi) + -(if [ ! -d build/formats ] ; then mkdir build/formats; fi) + -(if [ ! -d build/log ] ; then mkdir build/log; fi) + +tar: + -rm -f kdgreek31.zip + -tar -cf /tmp/tt.tar . + -compress /tmp/tt.tar + -mv /tmp/tt.tar.Z kdgreek3.1.tar.Z + +zip: + -(NOZIP=.Z:.zip:.tar; export NOZIP; \ + zip -r -k kdgreek31.zip * -x *.Z ) + +# ===================================================================== +# build the formats +# ===================================================================== + +formats: dirhier build/formats/greek.fmt build/formats/lgreek.fmt + +build/formats/greek.fmt: tex/greek.tex + (cd tex ; \ + initex greek \\dump ; \ + mv greek.fmt ../build/formats ; \ + mv greek.log ../build/log ) + +build/formats/lgreek.fmt: latex/lgreek.tex + (cd latex ; \ + initex lgreek \\dump ; \ + mv lgreek.fmt ../build/formats ; \ + mv lgreek.log ../build/log ) + + +# ===================================================================== +# build the family of fonts +# ===================================================================== +fonts: + -for f in $(MAG750); \ + do \ + (cd mf ; \ + ../$(NEWFONT) $(NEWFONTSCALESWITCH) 750 $$f); \ + done + -for f in $(MAG800); \ + do \ + (cd mf ; \ + ../$(NEWFONT) $(NEWFONTSCALESWITCH) 800 $$f);\ + done + -for f in $(MAG900); \ + do \ + (cd mf ; \ + ../$(NEWFONT) $(NEWFONTSCALESWITCH) 900 $$f);\ + done + -for f in $(MAG1200); \ + do \ + (cd mf ; \ + ../$(NEWFONT) $(NEWFONTSCALESWITCH) 1200 $$f);\ + done + -for f in $(MAG1095); \ + do \ + (cd mf ; \ + ../$(NEWFONT) $(NEWFONTSCALESWITCH) 1095 $$f);\ + done + -for f in $(MAG1000); \ + do \ + (cd mf ; \ + ../$(NEWFONT) $(NEWFONTSCALESWITCH) 1000 $$f);\ + done + -for f in $(MAG1440); \ + do \ + (cd mf ; \ + ../$(NEWFONT) $(NEWFONTSCALESWITCH) 1440 $$f);\ + done + -for f in $(MAG1795); \ + do \ + (cd mf ; \ + ../$(NEWFONT) $(NEWFONTSCALESWITCH) 1795 $$f);\ + done |