1 diff -up ptex-src-3.1.10/Makefile.in.fmts ptex-src-3.1.10/Makefile.in
2 --- ptex-src-3.1.10/Makefile.in.fmts 2006-06-05 03:50:47.000000000 +0200
3 +++ ptex-src-3.1.10/Makefile.in 2008-01-01 23:28:57.000000000 +0100
4 @@ -3,11 +3,9 @@ version = @WEB2CVERSION@
5 configopt = @configopt@
6 configkcode = @configkcode@
8 -default: programs formats
9 +default: programs texmf.cnf
11 programs=ptex tftopl pltotf pdvitype jbibtex
12 -euc-formats=ptex-euc.fmt platex-euc.fmt
13 -sjis-formats=ptex-sjis.fmt platex-sjis.fmt
15 ac_include ../../make/paths.mk
17 @@ -162,30 +160,12 @@ $(kpathsea):
20 # Making formats and bases.
21 -formats=$(euc-formats) $(sjis-formats)
24 texmf.cnf: $(kpathsea_dir)/texmf.cnf
25 $(SHELL) $(thisdir)/mkconf $(kpathsea_dir)/texmf.cnf > texmf.cnf
27 dumpenv = TEXMFCNF=$(thisdir)
29 -ptex-euc.fmt: ptex texmf.cnf
30 - $(dumpenv) $(MAKE) progname=ptex files="ptex.tex min10.tfm" prereq-check
31 - $(dumpenv) ./ptex --ini --kanji=euc --progname=ptex --jobname=ptex-euc \\input ptex.tex \\dump </dev/null
33 -ptex-sjis.fmt: ptex texmf.cnf
34 - $(dumpenv) $(MAKE) progname=ptex files="ptex.tex min10.tfm" prereq-check
35 - $(dumpenv) ./ptex --ini --kanji=sjis --progname=ptex --jobname=ptex-sjis \\input ptex.tex \\dump </dev/null
37 -platex-euc.fmt: ptex texmf.cnf
38 - $(dumpenv) $(MAKE) progname=platex files="platex.ltx" prereq-check
39 - $(dumpenv) ./ptex --ini --kanji=euc --progname=platex --jobname=platex-euc \\input platex.ltx </dev/null
41 -platex-sjis.fmt: ptex texmf.cnf
42 - $(dumpenv) $(MAKE) progname=platex files="platex.ltx" prereq-check
43 - $(dumpenv) ./ptex --ini --kanji=sjis --progname=platex --jobname=platex-sjis \\input platex.ltx </dev/null
45 # This is meant to be called recursively, with $(files) set.
46 prereq-check: $(kpathsea_dir)/kpsewhich
47 $(dumpenv) $(kpathsea_dir)/kpsewhich --progname=$(progname) $(files) >/dev/null || $(MAKE) prereq-lose >/dev/null
48 @@ -209,7 +189,6 @@ $(kpathsea_dir)/kpsewhich: $(kpathsea)
49 install: install-exec install-data
50 $(top_srcdir)/kpathsea/mktexlsr
51 install-exec:: install-links
52 -install-data:: install-formats
54 # Installation directories.
56 @@ -223,17 +202,7 @@ install-programs: $(programs) $(bindir)
58 # The links to ptex for each format.
59 install-links: install-programs $(bindir)
60 - cd $(bindir) && (rm -f iniptex virptex platex; $(LN) ptex platex)
62 -# Always do plain.*, so examples from the TeXbook (etc.) will work.
63 -install-formats: $(formats) $(web2cdir)
64 - for f in $(formats); do $(INSTALL_DATA) $$f $(web2cdir)/$$f; done
65 - cd $(web2cdir) && (rm -f ptex-jis.fmt platex-jis.fmt ;\
66 - $(LN) ptex-euc.fmt ptex-jis.fmt ;\
67 - $(LN) platex-euc.fmt platex-jis.fmt)
68 - cd $(web2cdir) && (rm -f ptex.fmt platex.fmt ;\
69 - $(LN) ptex-$(configkcode).fmt ptex.fmt ;\
70 - $(LN) platex-$(configkcode).fmt platex.fmt )
71 + cd $(bindir) && (rm -f iniptex virptex platex platex209; $(LN) ptex platex ; $(LN) ptex platex209)
75 @@ -323,6 +292,7 @@ distclean:: clean
77 rm -f ptex.web ptex.ch ptex.p ptex.pool ptex.log ptex-euc.fmt ptex-sjis.fmt
78 rm -f platex.log platex-euc.fmt platex-sjis.fmt texsys.aux platex
79 + rm -f platex209.log platex209-euc.fmt platex209-sjis.fmt platex209
80 rm -f tftopl.web tftopl.p
81 rm -f pltotf.web pltotf.p
82 rm -f pdvitype.web pdvitype.p