summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2023-05-06 07:26:01 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2023-07-18 18:10:24 +0200
commit3f22dabc2a15154bb7fc03d9abf38a40854bf854 (patch)
tree37dad83d1b614bde480a3c16894b5e529c134fb5 /doc
parent4e11cac6be68a674c16965dc74e7da54cd3168df (diff)
downloadguix-3f22dabc2a15154bb7fc03d9abf38a40854bf854.tar.gz
guix: texlive-build-system: Improvements on non-trivial packages.
* guix/build/texlive-build-system.scm (build): Ignore temporary build files
when moving runfiles around.  Remove ".drv" source files prior to compiling
files.  Remove need for #:TEX-DIRECTORY keyword.  Handle ".ins" and ".dtx"
files in different directories.
(install): Install docfiles in "doc" output when available.
* guix/build-system/texlive.scm (texlive-build): Remove #:TEX-DIRECTORY.
* doc/guix.texi (Build Systems): Remove reference to #:TEX-DIRECTORY in
TEXLIVE-BUILD-SYSTEM documentation.  Also mention it now tries to compile
".dtx" files when there is no ".ins" file.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi15
1 files changed, 7 insertions, 8 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index ee03de04dc..a1b624ad6f 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -10001,17 +10001,16 @@ used to build TeX packages in batch mode with a specified engine.  The
 build system sets the @env{TEXINPUTS} variable to find all TeX source
 files in the inputs.
 
-By default it runs @code{luatex} on all files ending on @code{ins}.  A
-different engine and format can be specified with the
-@code{#:tex-format} argument.  Different build targets can be specified
-with the @code{#:build-targets} argument, which expects a list of file
-names.  The build system adds only @code{texlive-bin} and
+By default it tries to run @code{luatex} on all @file{.ins} files, and
+if it fails to find any, on all @file{.dtx} files.  A different engine
+and format can be specified with the @code{#:tex-format} argument.
+Different build targets can be specified with the @code{#:build-targets}
+argument, which expects a list of file names.
+
+The build system adds only @code{texlive-bin} and
 @code{texlive-latex-base} (both from @code{(gnu packages tex}) to the
 inputs.  Both can be overridden with the arguments @code{#:texlive-bin}
 and @code{#:texlive-latex-base}, respectively.
-
-The @code{#:tex-directory} parameter tells the build system where to
-install the built files under the texmf tree.
 @end defvar
 
 @defvar ruby-build-system