Index: build/update-wiki ================================================================== --- build/update-wiki +++ build/update-wiki @@ -86,11 +86,15 @@ # 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="$(groff -mandoc -Thtml nano.man | sed -r 's@]*|)>@@g;//,/<\/head>/ d' | sed "s/@@VERS@@/${tclNanoDevelopmentVersion}/g;s/@@SHORT_DATE@@/${tclNanoDevelopmentDate}/g" | sed 's/\[/\[/g;s/\]/\]/g' | tail -n +5)" +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>//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)"