Changeset 60454e2


Ignore:
Timestamp:
Feb 21, 2006, 12:23:25 AM (19 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
d8ed990
Parents:
e5345f18
Message:

r604@server (orig r602): ryan | 2005-08-05 23:26:56 -0700
Ensure output goes to log files


File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/untested/blfs-scripts/blfs-jadetex.sh

    re5345f18 r60454e2  
    1010
    1111max_log_init jadetex ${JADETEX_VER} "blfs (shared)" ${CONFLOGS} ${LOG}
     12(
    1213sed -i.orig -e "s/original texmf.cnf/modified texmf.cnf/" \
    13    /usr/share/texmf/web2c/texmf.cnf
    14 # TODO: This needs to be added below "ConTeXt is a memory hog" in
    15 #       /usr/share/texmf/web2c/texmf.cnf
    16 #pool_size.context = 750000
    17 cat >> /usr/share/texmf/web2c/texmf.cnf << "EOF"
     14            -e "s/memory hog.../&\npool_size.context = 750000/" \
     15    $(kpsewhich texmf.cnf)
     16cat >> $(kpsewhich texmf.cnf) << "EOF"
    1817
    1918% The following 3 sections added for JadeTeX
     
    5554pool_size.pdfjadetex = 500000
    5655max_strings.pdfjadetex = 55000
     56
    5757EOF
    5858
    59 cp -R /usr/share/texmf/tex/latex/config . &&
    60 cd config &&
    61 tex -ini -progname=latex latex.ini &&
    62 mv /usr/share/texmf/web2c/latex.fmt \
    63    /usr/share/texmf/web2c/latex.fmt.orig &&
    64 install -m 644 latex.fmt /usr/share/texmf/web2c &&
    65 cd ..
     59LATEX_FMT_DIR="$(kpsewhich -expand-var '$TEXMFSYSVAR')/web2c" &&
     60mv -v $(kpsewhich latex.fmt) $(kpsewhich latex.fmt).orig &&
     61mv -v ${LATEX_FMT_DIR}/latex.log ${LATEX_FMT_DIR}/latex.log.orig &&
     62fmtutil-sys --byfmt latex
     63) >> ${LOGFILE} 2>&1 &&
     64echo " o Configure OK" || barf
     65
     66min_log_init ${BUILDLOGS} &&
     67make \
     68   >> ${LOGFILE} 2>&1 &&
     69echo " o Build OK" || barf
    6670
    6771min_log_init ${INSTLOGS} &&
    68 make install \
    69    >> ${LOGFILE} 2>&1 &&
    70 echo " o ALL OK" || barf
     72(
     73install -v -m755 -d \
     74    $(kpsewhich -expand-var '$TEXMFLOCAL')/tex/jadetex/config &&
     75install -v -m644 dsssl.def jadetex.ltx \
     76    $(kpsewhich -expand-var '$TEXMFLOCAL')/tex/jadetex &&
     77install -v -m644 {,pdf}jadetex.ini \
     78    $(kpsewhich -expand-var '$TEXMFLOCAL')/tex/jadetex/config &&
     79FMTUTIL_CNF="$(kpsewhich fmtutil.cnf)" &&
     80mv ${FMTUTIL_CNF} ${FMTUTIL_CNF}.orig &&
    7181
    72 ln -sf tex /usr/bin/jadetex &&
    73 ln -sf pdftex /usr/bin/pdfjadetex &&
    74 mktexlsr
     82cat ${FMTUTIL_CNF}.orig - >> ${FMTUTIL_CNF} << "EOF"
    7583
     84# JadeTeX formats:
     85jadetex         etex            -               "&latex"     jadetex.ini
     86pdfjadetex      pdfetex         -               "&pdflatex"  pdfjadetex.ini
     87
     88EOF
     89mv -v $(kpsewhich -expand-var '$TEXMFMAIN')/ls-R \
     90      $(kpsewhich -expand-var '$TEXMFMAIN')/ls-R.orig &&
     91mv -v $(kpsewhich -expand-var '$TEXMFSYSVAR')/ls-R \
     92      $(kpsewhich -expand-var '$TEXMFSYSVAR')/ls-R.orig &&
     93
     94mktexlsr &&
     95fmtutil-sys --byfmt jadetex &&
     96fmtutil-sys --byfmt pdfjadetex &&
     97mktexlsr &&
     98ln -v -sf etex /usr/bin/jadetex &&
     99ln -v -sf pdfetex /usr/bin/pdfjadetex
     100) >> ${LOGFILE} 2>&1 &&
     101echo " o Install OK" || barf
     102
Note: See TracChangeset for help on using the changeset viewer.