From 130a2c76d25fc5391afe39acad210f343b519b25 Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Mon, 26 Feb 2024 17:31:42 +0100 Subject: a missing cd in the makefile --- README.md | 51 +++++++++++++++++++++++++++++++++++---------------- tl-build.sh | 10 +++++----- 2 files changed, 40 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index 80c6398..69f9764 100644 --- a/README.md +++ b/README.md @@ -1,27 +1,46 @@ -How to Build texlive binaries for OpenBSD ------------------------------------------ +TeX Live for OpenBSD +=================== -### References +There are two ways to use TeX Live in OpenBSD. + +1. From ports. TeX Live is available in variety of “schemes” to wit + different sets of package collections. A list can be found on the + [openports.pl](https://openports.pl/search?file=&pkgname=texlive) + website.[^1] + +References +---------- - General information: - Building GNU CLISP for xindy: -### Requirements -- git -- gmake -- rsync -- subversion -- wget -- curl -- for context: +Requirements +------------ +- For texlive + - git + - gmake + - rsync + - subversion + - wget + - curl +- For context: - cmake - ninja -- for asymptote: +- For asymptote: - freeglut - readline -### Getting the sources -Run `checkout-tl.sh` +Getting the sources +------------------- +```sh +checkout-tl.sh +``` + +Building the binaries +--------------------- +```sh +tl-build.sh +``` -### Building the binaries -Run `tl-build.sh` +[^1]: More information on how TL is built for OpenBSD here: + diff --git a/tl-build.sh b/tl-build.sh index 73c5184..ac30032 100755 --- a/tl-build.sh +++ b/tl-build.sh @@ -81,7 +81,7 @@ fi # Build Asymptote if [[ ${with_asymptote} == "y" ]];then - cd source/utils/asymptote + cd ${tl_sourcedir}/utils/asymptote ./configure --prefix=/tmp/asyinst --enable-texlive-build \ --enable-static CXXFLAGS=-std=c++11 \ --disable-curl --disable-lsp --disable-gsl --disable-fftw @@ -97,9 +97,9 @@ if [[ ${build_tl} == "y" ]]; then ./Build ${enable_xindy} if [[ ${with_context} == "y" ]]; then cd ${tl_sourcedir} - tl_bindir=$tl_sourcedir/inst/bin/`ls ${tl_sourcedir}/inst/bin` + tl_bindir=${tl_sourcedir}/inst/bin/`ls ${tl_sourcedir}/inst/bin` cp luametatex-$context_ver/build/native/luametatex $tl_bindir - cd $tl_bindir + cd ${tl_bindir} ln -s luametatex context ln -s luametatex mtxrun ln -s ../../texmf-dist/scripts/context/lua/context.lua context.lua @@ -107,8 +107,8 @@ if [[ ${build_tl} == "y" ]]; then fi if [[ ${with_asymptote} == "y" ]];then cd ${tl_sourcedir} - tl_bindir=$tl_sourcedir/inst/bin/`ls ${tl_sourcedir}/inst/bin` - cp utils/asymptote/asy ${tl_sourcedir}/inst/bin + tl_bindir=${tl_sourcedir}/inst/bin/`ls ${tl_sourcedir}/inst/bin` + cp utils/asymptote/asy ${tl_bindir} cd ${tl_bindir} ln -s ../../texmf-dist/asymptote/GUI/xasy.py xasy fi -- cgit v1.2.3