]> Lady’s Gitweb - Shushe/commit
Generate dependencies & destinations with metadata
authorLady <redacted>
Sat, 22 Jun 2024 17:02:24 +0000 (13:02 -0400)
committerLady <redacted>
Sat, 6 Jul 2024 22:53:38 +0000 (18:53 -0400)
commitb7dd609683b0ba405e981bd69ea2695f1fb99500
treec957ad84f51defd2df524f6bf10ddfd1f6f246dc
parentfdff6d4a3c18615db5be69eccf2b79ac0223c697
Generate dependencies & destinations with metadata

This commit obviates the need for separate `metadata2dependencies` and
`metadata2destinations` transforms and simply bundles their
functionality into `expandmetadata`.

Making this work right is a bit tricky because we are outputting the
main document to `stdout` but want the other result documents to be
output to `BUILDDIR`. The best solution would be to just read in the
build directory inside of the transform and use it to determine the
output location, but unfortunately `exsl:document` does not support
dynamic computation of the destination directory. The current solution
is instead to `cd` into the build directory in a subshell before
calling `xsltproc`.
GNUmakefile
lib/expandmetadata.xslt
lib/metadata2dependencies.xslt [deleted file]
lib/metadata2destinations.xslt [deleted file]
This page took 0.031052 seconds and 4 git commands to generate.