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.2/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)"
|
|
|
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)"
|