diff options
author | Alejandro Colomar <alx@kernel.org> | 2024-03-24 12:55:15 +0100 |
---|---|---|
committer | Alejandro Colomar <alx@kernel.org> | 2024-03-24 13:14:24 +0100 |
commit | 4e21945517abbffbc4b0daeeb7a54747fa55e059 (patch) | |
tree | c30b3268ac5fb081f3f6bdb0d4017aee42b0f661 /scripts | |
parent | 6f2143f17bea41f7dc886b27705ede7f6f818ad7 (diff) |
share/mk/, scripts/LinuxManBook/build.sh: Embed script in the makefiles
This is done for simplifying, and as a side effect, it also allows
much more control on the script (e.g., TROFFFLAGS).
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/LinuxManBook/build.sh | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/scripts/LinuxManBook/build.sh b/scripts/LinuxManBook/build.sh deleted file mode 100755 index fcb8b8362..000000000 --- a/scripts/LinuxManBook/build.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/env -Sbash -# Copyright 2023-2024, Alejandro Colomar <alx@kernel.org> -# SPDX-License-Identifier: GPL-3.0-or-later - - -test -v CAT || CAT=cat; -test -v PRECONV || PRECONV=preconv; -test -v PIC || PIC=pic; -test -v TBL || TBL=tbl; -test -v EQN || EQN=eqn; -test -v TROFF || TROFF=troff; -test -v GROPDF || GROPDF=gropdf; - - -( - $CAT "$(dirname "$0")"/LMBfront.roff; - $CAT "$(dirname "$0")"/an.tmac; - "$(dirname "$0")"/prepare.pl "$1"; -) \ -| $PRECONV \ -| $PIC \ -| $TBL \ -| $EQN -Tpdf \ -| $TROFF -Tpdf -F"$(dirname "$0")" -dpaper=a4 \ -| $GROPDF -F"$(dirname "$0")" -pa4; |