diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-03-20 10:15:32 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-03-20 10:15:32 +0000 |
commit | d7f8ab6ea1a683492b985013a541ab11e33b9f73 (patch) | |
tree | a8b719cba4c45e2e308b53ebbd0ebb313a7cbf36 /Build/source/texk/tetex | |
parent | 9d502c516fe61658f540e6b98621632b91deb53c (diff) |
new build system
git-svn-id: svn://tug.org/texlive/trunk@12458 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/tetex')
-rw-r--r-- | Build/source/texk/tetex/Makefile.am | 174 | ||||
-rw-r--r-- | Build/source/texk/tetex/configure.ac | 25 |
2 files changed, 199 insertions, 0 deletions
diff --git a/Build/source/texk/tetex/Makefile.am b/Build/source/texk/tetex/Makefile.am new file mode 100644 index 00000000000..43d5b19c6b0 --- /dev/null +++ b/Build/source/texk/tetex/Makefile.am @@ -0,0 +1,174 @@ +## +ACLOCAL_AMFLAGS = -I ../../m4 + +dist_bin_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 + +dist_man1_MANS = \ + allcm.man \ + allec.man \ + allneeded.man \ + context/ctxtools.man \ + context/makempy.man \ + context/mptopdf.man \ + context/pdftools.man \ + context/pstopdf.man \ + context/texexec.man \ + context/texfind.man \ + context/texfont.man \ + context/texmfstart.man \ + context/textools.man \ + context/texutil.man \ + dvi2fax.man \ + dvired.man \ + e2pall.man \ + epstopdf.man \ + fmtutil.man \ + fontinst.man \ + kpsetool.man \ + kpsewhere.man \ + mkjobtexmf.man \ + mkocp.man \ + mkofm.man \ + ofm2opl.man \ + opl2ofm.man \ + otp2ocp.man \ + outocp.man \ + ovf2ovp.man \ + ovp2ovf.man \ + ps2frag.man \ + pslatex.man \ + rubibtex.man \ + rumakeindex.man \ + texconfig.man \ + texdoctk.man \ + texlinks.man \ + thumbpdf.man \ + ttf2afm.man \ + updmap.man + +dist_man5_MANS = \ + fmtutil.cnf.5 \ + updmap.cfg.5 + +tetexdocdir = ${prefix}/texmf/doc/tetex + +dist_tetexdoc_DATA = \ + doc/TETEXDOC.dvi \ + doc/TETEXDOC.pdf \ + doc/TETEXDOC.ps \ + doc/teTeX-FAQ + +texconfdir = ${prefix} + +nobase_dist_texconf_DATA = \ + texmf/texconfig/README \ + texmf/texconfig/g/generic \ + texmf/texconfig/generic \ + texmf/texconfig/v/vt100 \ + texmf/texconfig/x/xterm + +texconfigdir = ${prefix}/texmf/texconfig + +dist_texconfig_SCRIPTS = tcfmgr + +dist_texconfig_DATA = tcfmgr.map + +web2cdir = ${prefix}/texmf/web2c + +dist_web2c_DATA = fmtutil.cnf + +install-exec-hook: + cd $(DESTDIR)$(bindir) \ + && rm -f allec kpsexpand kpsepath mktexfmt texhash \ + && $(LN_S) allcm allec \ + && $(LN_S) fmtutil mktexfmt \ + && $(LN_S) kpsetool kpsexpand \ + && $(LN_S) mktexlsr texhash + +install-data-hook: + cd $(DESTDIR)$(man1dir) \ + && rm -f allec.1 ctangle.1 cweave.1 fmtutil-sys.1 kpsexpand.1 \ + kpsepath.1 lambda.1 mf-nowin.1 mktexfmt.1 odvicopy.1 \ + odvitype.1 pdflatex.1 texconfig-sys.1 texhash.1 updmap-sys.1 \ + && $(LN_S) allcm.1 allec.1 \ + && $(LN_S) cweb.1 ctangle.1 \ + && $(LN_S) cweb.1 cweave.1 \ + && $(LN_S) dvicopy.1 odvicopy.1 \ + && $(LN_S) dvitype.1 odvitype.1 \ + && $(LN_S) fmtutil.1 fmtutil-sys.1 \ + && $(LN_S) fmtutil.1 mktexfmt.1 \ + && $(LN_S) kpsetool.1 kpsexpand.1 \ + && $(LN_S) kpsetool.1 kpsepath.1 \ + && $(LN_S) mf.1 mf-nowin.1 \ + && $(LN_S) mktexlsr.1 texhash.1 \ + && $(LN_S) omega.1 lambda.1 \ + && $(LN_S) pdftex.1 pdflatex.1 \ + && $(LN_S) texconfig.1 texconfig-sys.1 \ + && $(LN_S) updmap.1 updmap-sys.1 + +uninstall-hook: + cd $(DESTDIR)$(bindir) \ + && rm -f allec kpsexpand kpsepath mktexfmt texhash + cd $(DESTDIR)$(man1dir) \ + && rm -f allec.1 ctangle.1 cweave.1 fmtutil-sys.1 kpsexpand.1 \ + kpsepath.1 lambda.1 mf-nowin.1 mktexfmt.1 odvicopy.1 \ + odvitype.1 pdflatex.1 texconfig-sys.1 texhash.1 updmap-sys.1 + +EXTRA_DIST = \ + README.a2ping \ + README.texdoctk + +## Not yet used +## +EXTRA_DIST += \ + doc/Makefile \ + doc/TETEXDOC.bib \ + doc/TETEXDOC.tex \ + fontinst.bat \ + pdfetex-pl.pool \ + texdoc.man \ + updmap.pl \ + win32/epstopdf.c \ + win32/epstopdf.txt + +## Evenyually delete these files +## +EXTRA_DIST += Makefile.in.orig configure.in.orig + +################# + +# Auxiliary files. +extra-install-data:: + $(SHELL) $(top_srcdir)/../mkinstalldirs $(texpooldir) $(texmf)/doc/tetex + $(SHELL) $(top_srcdir)/../mkinstalldirs $(texmf)/texconfig $(texmf)/texconfig/g $(texmf)/texconfig/v $(texmf)/texconfig/x + +# +# 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) + diff --git a/Build/source/texk/tetex/configure.ac b/Build/source/texk/tetex/configure.ac new file mode 100644 index 00000000000..465069f956d --- /dev/null +++ b/Build/source/texk/tetex/configure.ac @@ -0,0 +1,25 @@ +dnl Process this file with autoconf to produce a configure script. +dnl +dnl Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org> +dnl +dnl This file is free software; the copyright holder +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. +dnl +AC_INIT([teTeX for TeX Live], [3.0], [tex-k@tug.org]) +AC_PREREQ([2.63]) +AC_CONFIG_SRCDIR([texconfig]) +AC_CONFIG_AUX_DIR([../../build-aux]) +AC_CONFIG_MACRO_DIR([../../m4]) + +AM_INIT_AUTOMAKE([foreign dist-bzip2]) +AM_MAINTAINER_MODE + +AC_PROG_CC +AC_PROG_INSTALL +AC_PROG_LN_S +AC_PROG_MAKE_SET + +AC_CONFIG_FILES([Makefile]) + +AC_OUTPUT |