diff options
| author | Christian Wieninger <cwieninger (at) gmx (dot) de> | 2009-07-19 20:43:44 +0200 |
|---|---|---|
| committer | Christian Wieninger <cwieninger (at) gmx (dot) de> | 2009-07-19 20:43:44 +0200 |
| commit | 0b09a1e3ca117a0306aff5db6cdf3283fb8457de (patch) | |
| tree | 0fb2d7aebf1b18a76abfbdde7df52b0760ab60d5 | |
| parent | 1c1e4c5ad57613bc1cc93c007df45bd76def755a (diff) | |
| download | vdr-plugin-epgsearch-0b09a1e3ca117a0306aff5db6cdf3283fb8457de.tar.gz vdr-plugin-epgsearch-0b09a1e3ca117a0306aff5db6cdf3283fb8457de.tar.bz2 | |
fixed wrong man section of some man pages
| -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 |
