Overview
Comment: | Updated to extract manual page correctly |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
e607386a51a230012746a63c220cb922 |
User & Date: | rkeene on 2018-07-11 16:49:40 |
Other Links: | manifest | tags |
Context
2018-07-11
| ||
16:52 | Corrected link to manual check-in: ea4f944294 user: rkeene tags: trunk | |
16:49 | Updated to extract manual page correctly check-in: e607386a51 user: rkeene tags: trunk | |
16:47 | Add a manual link for releases check-in: 2fdb28505d user: rkeene tags: trunk | |
Changes
Modified build/update-wiki from [13a233bee7] to [7f511f9c7a].
︙ | ︙ | |||
89 90 91 92 93 94 95 | # Generate the new manual page entry for the development version developmentManPage="$(groff -mandoc -Thtml nano.man | sed -r 's@</*(body|html)( [^>]*|)>@@g;/<head>/,/<\/head>/ d' | sed "s/@@VERS@@/${tclNanoDevelopmentVersion}/g;s/@@SHORT_DATE@@/${tclNanoDevelopmentDate}/g" | sed 's/\[/\[/g;s/\]/\]/g' | tail -n +5)" updatePage "${wikiPageManual}" "${developmentManPage}" # Generate a PDF manual page for the release version, if it does not already exist if ! fossilUVExists "${tclNanoReleaseManualPDF}"; then tclNanoReleaseManualPDFTmp="$(mktemp -u)" | | | 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | # Generate the new manual page entry for the development version developmentManPage="$(groff -mandoc -Thtml nano.man | sed -r 's@</*(body|html)( [^>]*|)>@@g;/<head>/,/<\/head>/ d' | sed "s/@@VERS@@/${tclNanoDevelopmentVersion}/g;s/@@SHORT_DATE@@/${tclNanoDevelopmentDate}/g" | sed 's/\[/\[/g;s/\]/\]/g' | tail -n +5)" updatePage "${wikiPageManual}" "${developmentManPage}" # Generate a PDF manual page for the release version, if it does not already exist if ! fossilUVExists "${tclNanoReleaseManualPDF}"; then tclNanoReleaseManualPDFTmp="$(mktemp -u)" fossil uv cat "${tclNanoReleaseTarball}" 2>/dev/null | gzip -dc 2>/dev/null | tar --wildcards -xOf - '*/nano.man' | groff -mandoc -Tpdf > "${tclNanoReleaseManualPDFTmp}" fossil uv add "${tclNanoReleaseManualPDFTmp}" --as "${tclNanoReleaseManualPDF}" rm -f "${tclNanoReleaseManualPDFTmp}" fi # Generate the new download page entry downloadsPage="$(generateDownloads "${tclNanoReleaseVersion}" "${tclNanoReleaseTarball}" "${tclNanoReleaseTarballSHA256}")" updatePage "${wikiPageDownloads}" "${downloadsPage}" 'markdown' |
︙ | ︙ |