summaryrefslogtreecommitdiff
path: root/docs/typ
diff options
context:
space:
mode:
Diffstat (limited to 'docs/typ')
-rw-r--r--docs/typ/building.typ11
1 files changed, 6 insertions, 5 deletions
diff --git a/docs/typ/building.typ b/docs/typ/building.typ
index 2b1943c4..0c95914c 100644
--- a/docs/typ/building.typ
+++ b/docs/typ/building.typ
@@ -41,10 +41,11 @@ system takes the SDK SDL needs with `-Dmacos-sdk=<path>`.
A bare `zig build` installs into the prefix (`zig-out`, or `--prefix
<dir>`) and copies the binaries into `~/.local/bin`; `-Dhome-install=false`
leaves that copy out. Zig 0.17 keeps the prefix from the build script, so
-`--prefix` alone no longer stops it. With `-Dplatform` binaries are not copied. The `image`, `pdf` and
-`addons` steps also install into `$XDG_DATA_HOME/pardes/addons` (else
-`~/.local/share/pardes/addons`); `-Dhome-install=false` skips that copy.
-Pass `-Dplatform` and `-Dhome-install=false` while developing. Test, benchmark and run steps build what they need
+`--prefix` alone no longer stops it. The `image`, `pdf` and `addons` steps
+of a bare `zig build` also install into `$XDG_DATA_HOME/pardes/addons`
+(else `~/.local/share/pardes/addons`); `-Dhome-install=false` skips that
+copy too. With `-Dplatform` neither is copied, but `-Dhome-install=true`
+copies the addons. Test, benchmark and run steps build what they need
without installing. `pardes --version` prints `pardes <version>` (from
`build.zig.zon`), plus the commit for release builds and the `~/.local`
install, and on a second line the build's semantics hash, which a replica
@@ -60,7 +61,7 @@ must share with its session; `pardes --help` lists every flag.
[`-Djpx`], [bool, `true`: JPEG 2000, and with it scanned PDFs],
[`-Dtree-sitter`], [`disabled`, `zig`, `minimal`, `full`; `full`],
[`-Dembed-sources`], [bool, `false`: serve the sources under #file("/src")],
- [`-Dhome-install`], [bool: a bare `zig build` also copies the binaries into `~/.local/bin`; default true],
+ [`-Dhome-install`], [bool: a bare `zig build` also copies the binaries into `~/.local/bin` and the addon steps theirs into `$XDG_DATA_HOME/pardes/addons`, default true; with `-Dplatform` only `true` copies, and the addons alone],
[`-Dstamp-commit`], [bool: the git commit in `--version` and crash records; on for release builds and the `~/.local` install],
[`-Dworkspace-tag`], [bool: draw the workspace tag row; on except for macOS, whose menu bar carries it],
[`-Dmacos-sdk`], [path: the macOS SDK SDL's headers and frameworks come from, for a gui built for macOS elsewhere],