install: update instructions on how to manually compile the terminfo

This commit is contained in:
Daniel Eklöf 2021-12-03 22:44:35 +01:00
parent 281127cae1
commit 67b8dc9d1e
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -449,19 +449,14 @@ sed 's/@default_terminfo@/foot/g' foot.info | \
```
Where _”output-directory”_ **must** match the value passed to
`-Dcustom-terminfo-install-location` in the foot build.
To compile and install directly (assuming the default
`-Dcustom-terminfo-install-location`):
```sh
sudo tic -o /usr/share/foot/terminfo ...
```
`-Dcustom-terminfo-install-location` in the foot build. If
`-Dcustom-terminfo-install-location` has not been set, `-o
<output-directoty>` can simply be omitted.
Or, if packaging:
```sh
tic -o ${DESTDIR}/usr/share/foot/terminfo ...
tic -o ${DESTDIR}/usr/share/terminfo ...
```