Overview
| Comment: | Use a newer version of mandoc for creating the wiki-fied man page |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
53ee952ef1069cc949f566a160980b37 |
| User & Date: | rkeene on 2018-08-17 13:48:43.775 |
| Other Links: | manifest | tags |
Context
|
2018-08-17
| ||
| 13:49 | Expose random buffer generation mechanism to the script level check-in: 40140fc849 user: rkeene tags: trunk | |
| 13:48 | Use a newer version of mandoc for creating the wiki-fied man page check-in: 53ee952ef1 user: rkeene tags: trunk | |
| 13:25 | Added stubs for new protocol commands check-in: dda1a6b4ce user: rkeene tags: trunk | |
Changes
Modified build/update-wiki
from [365c26a6bb]
to [2a0c1c7c7c].
| ︙ | ︙ | |||
86 87 88 89 90 91 92 |
# Determine current development version
tclNanoDevelopmentVersion="$(awk '/^AC_INIT\(/{ sub(/^AC_INIT\([^,]*, */, ""); sub(/[,\)].*$/, ""); print; }' < configure.ac)"
tclNanoDevelopmentDate="$(date +%d-%b-%Y)"
# Generate the new manual page entry for the development version
developmentManPage="$(
sed "s/@@VERS@@/${tclNanoDevelopmentVersion}/g;s/@@SHORT_DATE@@/${tclNanoDevelopmentDate}/g" nano.man | \
| | | 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 |
# Determine current development version
tclNanoDevelopmentVersion="$(awk '/^AC_INIT\(/{ sub(/^AC_INIT\([^,]*, */, ""); sub(/[,\)].*$/, ""); print; }' < configure.ac)"
tclNanoDevelopmentDate="$(date +%d-%b-%Y)"
# Generate the new manual page entry for the development version
developmentManPage="$(
sed "s/@@VERS@@/${tclNanoDevelopmentVersion}/g;s/@@SHORT_DATE@@/${tclNanoDevelopmentDate}/g" nano.man | \
/home/rkeene/devel/tcl-nano/build/work/pkgs/mandoc-1.14.4/INST/bin/mandoc -Thtml -Ofragment | \
sed 's/<div[^>]*> <\/div>//g;s@\[@\[@g;s@\]@\]@g'
)"
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)"
|
| ︙ | ︙ |