install: document how to manually pre-process the terminfo source file

Related to #700
This commit is contained in:
Daniel Eklöf 2021-08-30 19:35:56 +02:00
parent cf767427d7
commit 051745d7b1
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -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