summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY1
-rw-r--r--HISTORY.DE1
-rwxr-xr-xdocsrc2man.sh4
3 files changed, 5 insertions, 1 deletions
diff --git a/HISTORY b/HISTORY
index bf42a05..ef278bd 100644
--- a/HISTORY
+++ b/HISTORY
@@ -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
diff --git a/HISTORY.DE b/HISTORY.DE
index f20f639..17e8898 100644
--- a/HISTORY.DE
+++ b/HISTORY.DE
@@ -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