aboutsummaryrefslogtreecommitdiff
path: root/INSTALL.md
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-08-30 17:35:56 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-08-30 17:35:56 +0000
commit051745d7b1654ebfa11ff556bb8413ca8f2de996 (patch)
treeea90ba161101b6b3d3db027ad9fb82b4f6bdfa1b /INSTALL.md
parentpkgbuild: fix terminfo removal (diff)
install: document how to manually pre-process the terminfo source file
Related to #700
Diffstat (limited to 'INSTALL.md')
-rw-r--r--INSTALL.md9
1 files changed, 3 insertions, 6 deletions
diff --git a/INSTALL.md b/INSTALL.md
index 6a380803..3ded1a0e 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -223,11 +223,7 @@ be built as part of the regular build process, and installed to the
specified location.
Packagers may want to set `-Dterminfo=disabled`, and manually build
-and install the terminfo files instead:
-
-```sh
-tic -o <output-directory> -x -e foot,foot-direct foot.info
-```
+and [install the terminfo](#terminfo) files instead.
### Release build
@@ -424,7 +420,8 @@ terminfo files manually instead.
To build the terminfo files, run:
```sh
-tic -o <output-directory> -x -e foot,foot-direct foot.info
+sed 's/@default_terminfo@/foot/g' foot.info > /tmp/foot-preprocessed.info
+tic -o <output-directory> -x -e foot,foot-direct /tmp/foot-preprocessed.info
```
Where _”output-directory”_ **must** match the value passed to