summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/fonts
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-03-02 00:57:42 +0000
committerKarl Berry <karl@freefriends.org>2010-03-02 00:57:42 +0000
commite8b7b0ce5211403c44eed307dd04bf64741f2fd4 (patch)
treeb864630d121abeda4e903af0d6887d1733ec2f09 /Master/texmf-dist/source/fonts
parent58b886f179b42e8e84c006250c50a97f6e5bbcff (diff)
frcursive update
git-svn-id: svn://tug.org/texlive/trunk@17270 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/fonts')
-rw-r--r--Master/texmf-dist/source/fonts/frcursive/Makefile135
1 files changed, 113 insertions, 22 deletions
diff --git a/Master/texmf-dist/source/fonts/frcursive/Makefile b/Master/texmf-dist/source/fonts/frcursive/Makefile
index 4325f2d400d..f4c7e9c1af3 100644
--- a/Master/texmf-dist/source/fonts/frcursive/Makefile
+++ b/Master/texmf-dist/source/fonts/frcursive/Makefile
@@ -1,34 +1,125 @@
-MP = mpost --interaction=batchmode
-SRC = ../mf
-LTX = ../latex
+# main Makefile for French Cursive
+# © 2002--2004 Emmanuel Beffara, GPL
+#
+#----------------------------------------------------------
+#
+# Modify the following variables to install the files in the appropriate
+# directories for your system.
+#
+# The base of the TeX hierarchy:
-MPATH = env MFINPUTS=$(SRC):$$MFINPUTS
-LMPATH = $(MPATH) TEXINPUTS=$(LTX):$$TEXINPUTS
+TEXMF = /usr/share/texmf
-all: fcsource.ps frcursive.ps
+# The place where the Metafont sources are installed:
+
+MFDIR = $(TEXMF)/fonts/source/frcursive
+
+# The place where the LaTeX sources are installed:
+
+LATEXDIR = $(TEXMF)/tex/latex/misc
+
+# Here ends the customization part.
+#
+#----------------------------------------------------------
+
+SRCDIR = mf
+LTXDIR = latex
+
+FONTS = $(basename $(notdir $(wildcard $(SRCDIR)/frc*.mf)))
+SOURCES = frcursive
+
+TFMs = $(addsuffix .tfm,$(FONTS))
+SRC = $(addsuffix .mf,$(SOURCES))
+ALLSRC = $(addsuffix .mf,$(SOURCES) $(FONTS))
+MFs = $(addprefix $(SRCDIR)/,$(SRC))
+ALLMFs = $(addprefix $(SRCDIR)/,$(ALLSRC))
+
+MFVAR = env MFINPUTS=.:$(SRCDIR):$$MFINPUTS
+LMVAR = $(MFVAR) TEXINPUTS=.:$(LTXDIR):$$TEXINPUTS
+
+.SUFFIXES:
+.PHONY: default source doc test type1 clean dist
+.SECONDARY: $(TFMs)
+
+#-- Main targets.
+
+default:
+ @echo please choose a target...
+
+source:
+ @make -C mf
+latex: $(LTXDIR)/frcursive.sty
+$(LTXDIR)/frcursive.sty: $(LTXDIR)/frcursive.ins $(LTXDIR)/frcursive.dtx
+ @make -C latex
+doc:
+ @make -C doc
+test:
+ @make -C test
+type1:
+ @make -C pfb
clean:
- rm -f *~ *.*pk *.tfm frcursive.* mfplain.* *.log *.aux *.toc *.dvi *.ps
+ rm -f *.pbm *.*gf *.*pk *.tfm *.dvi *.log *.aux *.ps *.pdf
+ rm -rf frcursive
+ @make -C mf clean
+ @make -C latex clean
+ @make -C doc clean
+ @make -C test clean
+
+#-- Installation.
+
+install:
+ mkdir -p $(MFDIR)
+ cp mf/*.mf $(MFDIR)/
+ mkdir -p $(LATEXDIR)
+ cp latex/* $(LATEXDIR)/
+
+#-- Distribution.
+
+DOCS = doc/COPYING doc/Makefile doc/fcsource.tex doc/FILES
+
+dist:
+ make clean source latex
+ rm -rf frcursive frcursive.tar.gz
+ mkdir frcursive
+ mkdir frcursive/mf
+ mkdir frcursive/latex
+ mkdir frcursive/doc
+ mkdir frcursive/test
+ cp Makefile README frcursive/
+ cp mf/* frcursive/mf/
+ cp latex/* frcursive/latex/
+ rm -v frcursive/latex/frcursive.log
+ cp $(DOCS) frcursive/doc/
+ cp test/* frcursive/test/
+ tar zcf frcursive.tar.gz frcursive
+ rm -rf frcursive
-#-- the pretty-printed source
+#-- Testing targets.
-fcsource.dvi: fcsource.tex frcursive.tex $(SRC)/frcr10.mf
- $(MPATH) tex $<
-frcursive.tex: ../mf/frcursive.mf
- mft $<
+t:
+ rm -f *.tfm *.*pk
+ $(MFVAR) tex test/tfc
+ xdvi -geometry 1024x768+0+0 -s 2 tfc
+tf:
+ rm -f *.tfm *.*pk
+ echo -e "frcr10\n\\\\table\\\\end" | $(MFVAR) tex testfont
+ xdvi testfont
-#-- the LaTeX package's documentation
+f: frcr10.dvi
-frcursive.dvi: $(LTX)/frcursive.dtx $(LTX)/frcursive.sty $(SRC)/frcr10.mf
- $(LMPATH) latex $<
-#-- generic rules
+%.tfm: $(SRCDIR)/%.mf $(MFs)
+ rm -f $(addprefix $(basename $@),.tfm .*pk .*gf)
+ $(MFVAR) mktextfm $(basename $@)
+%.2602gf: $(SRCDIR)/%.mf $(MFs)
+ $(MFVAR) mf $(basename $@)
-%.ps: %.dvi $(SRC)/frcr10.mf
- dvips $< -o $@
+%.dvi: test/%.tex $(LTXDIR)/frcursive.sty
+ $(LMVAR) latex $<
-$(SRC)/frcr10.mf:
- @make -C $(SRC)
+t%.dvi: test/t%.tex
+ $(MFVAR) tex $<
-$(LTX)/frcursive.sty:
- @make -C $(LTX)
+frc%.dvi: frc%.2602gf
+ gftodvi $<