build: install GTK without development files

This commit is contained in:
2026-08-12 18:01:39 +09:00
parent 9566995c07
commit 9051c69b49
2 changed files with 14 additions and 9 deletions

View File

@@ -108,8 +108,16 @@ export XMODIFIERS=@im=strans
xterm
```
For GTK 3 applications, install with normal `DESTDIR` semantics. A staged
install does not update the host GTK module cache:
For GTK 3 applications, install the module built by Docker. Installation
needs the GTK 3 runtime, but not its development package:
```sh
doas make -C gtk install
```
`LIBDIR` defaults to `/usr/lib` and may be overridden for another system.
Normal `DESTDIR` semantics are supported, and a staged install does not update
the host GTK module cache:
```sh
make -C gtk install DESTDIR="$pkgdir"