diff options
-rw-r--r-- | HISTORY | 1 | ||||
-rw-r--r-- | HISTORY.DE | 1 | ||||
-rwxr-xr-x | docsrc2man.sh | 4 |
3 files changed, 5 insertions, 1 deletions
@@ -75,6 +75,7 @@ fixes: search timer - fixed some memory leaks, thanks to Bittor Corl for providing a patch - some fixes to compile with gcc-4.4, thanks to firefly@vdrportal for providing a patch +- fixed wrong man section of some man pages, thanks to Ville Skyttä for providing a patch 2008-04-29: Version 0.9.24 @@ -80,6 +80,7 @@ fixes: - Einige Speicherlecks korrigiert, Danke an Bittor Corl für einen Patch - Einige Korrekturen damit es mit gcc-4.4 compiliert, Danke an firefly@vdrportal für einen Patch. +- Falsche Man-Sektion einiger Man-Pages korrigiert, Danke an Ville Skyttä für den Patch. 2008-04-29: Version 0.9.24 diff --git a/docsrc2man.sh b/docsrc2man.sh index 1232153..cf6b041 100755 --- a/docsrc2man.sh +++ b/docsrc2man.sh @@ -26,7 +26,9 @@ for LANGUAGE in $(ls "$DOCSRC"/); do for i in "$DOCSRC"/$LANGUAGE/*.txt; do echo -ne "create man page: ($LANGUAGE) $(basename "$i" ".txt")..." - pod2man -c "Epgsearch Version $VERSION" -n "$(echo "$(basename "$i")" | sed -e 's/\.[0-9]\..*$//')" --section=5 "$i" >"man/$LANGUAGE/$(basename "$i" ".txt")" + name=$(echo "$(basename "$i")" | sed -e 's/\.[0-9]\..*$//') + sect=$(echo "$i" | sed -e 's/.*\.\([0-9]\)\.txt/\1/') + pod2man -c "Epgsearch Version $VERSION" -n "$name" --section="$sect" "$i" >"man/$LANGUAGE/$(basename "$i" ".txt")" if [ $? -eq 0 ]; then echo " done." else |