]> Lady’s Gitweb - Shushe/commit
Allow creation of tarballs 0.7.0
authorLady <redacted>
Wed, 10 Apr 2024 19:53:11 +0000 (15:53 -0400)
committerLady <redacted>
Wed, 10 Apr 2024 19:53:11 +0000 (15:53 -0400)
commit7ae7c33964113408bd8cdee445d90f8057159515
tree0d05cf78989a29aafe7cef5375e3f12ef1bc94af
parentd9a975838fa5c06a00ca5031a0d1e18cc66fefd6
Allow creation of tarballs

This is useful when using ⛩️📰 书社 directly as a static site
generator to provide archive downloads (archives are not compressed; it
is assumed that they will be gzipped over the wire). This requires
a recursive call to Make for each archive file, which performs the
following steps :—

- Extracts all of the elements slated for archiving into separate
  files.

- Restarts.

- Processes the resulting extracted files and then archives them.

The extraction step in particular is somewhat convoluted; it requires
dynamically generating a transform which has the appropriate
`<exsl:document>` elements for a given source file, and then applying
that transform in a second call to `xsltproc`.

X·M·L outputs are now passed through an extra call to `xmllint` to
remove any unnecessary namespace attributes instead of just symlinked;
the symlinks weren’t compatible with archiving anyway.
GNUmakefile
README.markdown
lib/archive2extractor.xslt [new file with mode: 0644]
lib/catalog2transform.xslt
This page took 0.017185 seconds and 4 git commands to generate.