diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-03-19 13:59:30 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-03-19 13:59:30 +0000 |
commit | 0b7b2c69ec83497d9accab064da0f4ad07662d42 (patch) | |
tree | e8f22a2acecbf3035850f56beb1c8161c53cdf2d /Build/source/texk/tetex | |
parent | ee507bbd1fc483c58acb33cca25509a4dd81df9b (diff) |
prepare for new build system
git-svn-id: svn://tug.org/texlive/trunk@12429 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/tetex')
-rw-r--r-- | Build/source/texk/tetex/Makefile.in.orig | 113 | ||||
-rw-r--r-- | Build/source/texk/tetex/configure.in.orig | 12 |
2 files changed, 125 insertions, 0 deletions
diff --git a/Build/source/texk/tetex/Makefile.in.orig b/Build/source/texk/tetex/Makefile.in.orig new file mode 100644 index 00000000000..012005bf879 --- /dev/null +++ b/Build/source/texk/tetex/Makefile.in.orig @@ -0,0 +1,113 @@ +# $Id$ +# @configure_input@ +# Makefile for teTeX's extra scripts - te@dbs.uni-hannover.de. +# Public domain. + +kpse_include ../make/paths.mk +kpse_include ../make/common.mk +kpse_include ../make/programs.mk + +man5dir = $(mandir)/man5 + +SCRIPTS = \ + allcm allneeded dvi2fax dvired fmtutil fmtutil-sys fontinst \ + kpsetool kpsewhere ps2frag ps4pdf pslatex rubibtex rumakeindex \ + texconfig texconfig-dialog texconfig-sys \ + texlinks updmap updmap-sys + +contextmanpgs = \ + ctxtools makempy mptopdf pstopdf texfind texmfstart \ + pdftools texexec texfont textools texutil + +# The man pages for script packages such as thumbpdf and mkjobtexmf are +# copied here by hand; ctan2tl doesn't know how to handle this case. Help. +manpgs = \ + allcm allec allneeded dvi2fax dvired e2pall epstopdf fontinst \ + kpsetool kpsewhere mkjobtexmf mkocp mkofm ofm2opl opl2ofm otp2ocp outocp \ + ovf2ovp ovp2ovf ps2frag pslatex rubibtex rumakeindex texconfig \ + texdoctk thumbpdf ttf2afm updmap + +all: $(SCRIPTS) +default: all + +install: install-data install-exec + +# Auxiliary files. +install-data:: + $(SHELL) $(top_srcdir)/../mkinstalldirs $(man1dir) $(man5dir) $(texpooldir) $(texmf)/doc/tetex + for p in $(manpgs); do \ + $(INSTALL_DATA) $(srcdir)/$$p.man $(man1dir)/$$p.$(manext); \ + done + for p in $(contextmanpgs); do \ + $(INSTALL_DATA) $(srcdir)/context/$$p.man $(man1dir)/$$p.$(manext); \ + done + $(INSTALL_DATA) $(srcdir)/fmtutil.man $(man1dir)/fmtutil.1 + $(INSTALL_DATA) $(srcdir)/texlinks.man $(man1dir)/texlinks.1 + $(INSTALL_DATA) $(srcdir)/fmtutil.cnf.5 $(man5dir)/fmtutil.cnf.5 + $(INSTALL_DATA) $(srcdir)/updmap.cfg.5 $(man5dir)/updmap.cfg.5 + cd $(man1dir); rm -f allec.$(manext) texhash.$(manext) \ + lambda.$(manext) pdflatex.$(manext) kpsepath.$(manext) \ + kpsexpand.$(manext) mf-nowin.$(manext) ctangle.$(manext) \ + cweave.$(manext) odvicopy.$(manext) \ + odvitype.$(manext) texconfig-sys.$(manext) \ + updmap-sys.$(manext) mktexfmt.$(manext) fmtutil-sys.$(manext) + ln -s allcm.$(manext) $(man1dir)/allec.$(manext) + ln -s mktexlsr.$(manext) $(man1dir)/texhash.$(manext) + ln -s omega.$(manext) $(man1dir)/lambda.$(manext) + ln -s pdftex.$(manext) $(man1dir)/pdflatex.$(manext) + ln -s kpsetool.$(manext) $(man1dir)/kpsepath.$(manext) + ln -s kpsetool.$(manext) $(man1dir)/kpsexpand.$(manext) + ln -s mf.$(manext) $(man1dir)/mf-nowin.$(manext) + ln -s cweb.$(manext) $(man1dir)/ctangle.$(manext) + ln -s cweb.$(manext) $(man1dir)/cweave.$(manext) + ln -s dvicopy.$(manext) $(man1dir)/odvicopy.$(manext) + ln -s dvitype.$(manext) $(man1dir)/odvitype.$(manext) + ln -s texconfig.$(manext) $(man1dir)/texconfig-sys.$(manext) + ln -s updmap.$(manext) $(man1dir)/updmap-sys.$(manext) + ln -s fmtutil.$(manext) $(man1dir)/mktexfmt.$(manext) + ln -s fmtutil.$(manext) $(man1dir)/fmtutil-sys.$(manext) + for p in TETEXDOC.pdf TETEXDOC.ps TETEXDOC.dvi teTeX-FAQ; do \ + $(INSTALL_DATA) $(srcdir)/doc/$$p $(texmf)/doc/tetex; \ + done + $(SHELL) $(top_srcdir)/../mkinstalldirs $(texmf)/texconfig $(texmf)/texconfig/g $(texmf)/texconfig/v $(texmf)/texconfig/x + $(INSTALL_DATA) $(srcdir)/texmf/texconfig/g/generic $(texmf)/texconfig/g + $(INSTALL_DATA) $(srcdir)/texmf/texconfig/v/vt100 $(texmf)/texconfig/v + $(INSTALL_DATA) $(srcdir)/texmf/texconfig/x/xterm $(texmf)/texconfig/x + $(INSTALL_DATA) $(srcdir)/texmf/texconfig/README $(texmf)/texconfig + $(INSTALL_DATA) $(srcdir)/texmf/texconfig/generic $(texmf)/texconfig + $(INSTALL_SCRIPT) $(srcdir)/tcfmgr $(texmf)/texconfig/tcfmgr + $(INSTALL_DATA) $(srcdir)/tcfmgr.map $(texmf)/texconfig/tcfmgr.map + $(INSTALL_DATA) $(srcdir)/fmtutil.cnf $(texmf)/web2c/fmtutil.cnf + +install-exec: + -$(SHELL) $(srcdir)/../mkinstalldirs $(scriptdir) + for s in $(SCRIPTS); do \ + $(INSTALL_SCRIPT) $(srcdir)/$$s $(scriptdir)/$$s; \ + done + cd $(scriptdir) && rm -f allec kpsepath kpsexpand texhash; \ + ln -s allcm allec; \ + ln -s kpsetool kpsepath; \ + ln -s kpsetool kpsexpand; \ + ln -s mktexlsr texhash + cd $(scriptdir) && rm -f mktexfmt; ln -s fmtutil mktexfmt + +# +# This target is invoked by the top-level make, +# to create the per-format engine symlinks in $(bindir), +# after everything else is installed. We explicitly specify the +# fmtutil.cnf file to use for the sake of distro builds. Also, that way +# we don't have to run mktexlsr also. +run_texlinks = $(bindir)/texlinks -f $(web2cdir)/fmtutil.cnf +run-texlinks: + PATH="$(bindir):$(PATH)"; export PATH; $(run_texlinks) + +kpse_include ../make/clean.mk + +config.status: $(srcdir)/configure + $(SHELL) $(srcdir)/configure --no-create --verbose + +Makefile: $(srcdir)/Makefile.in config.status + $(SHELL) config.status + +depend: +check: diff --git a/Build/source/texk/tetex/configure.in.orig b/Build/source/texk/tetex/configure.in.orig new file mode 100644 index 00000000000..fcaf2e14755 --- /dev/null +++ b/Build/source/texk/tetex/configure.in.orig @@ -0,0 +1,12 @@ +dnl Process this file with autoconf to produce a configure script. +AC_INIT(texconfig) + +AC_PROG_CC +AC_PROG_INSTALL +AC_PROG_LN_S +AC_PROG_MAKE_SET + +sinclude(../kpathsea/withenable.ac) + +KPSE_CONFIG_FILES([Makefile]) +AC_OUTPUT |