[Po4a-commits] "po4a/share po4a-build,1.8,1.9"

Neil Williams codehelp at alioth.debian.org
Mon Nov 23 15:55:48 UTC 2009


Update of /cvsroot/po4a/po4a/share
In directory alioth:/tmp/cvs-serv13508/share

Modified Files:
	po4a-build 
Log Message:
	* share/po4a-build: Specify the real module name
	when using pod2man and section 3.



Index: po4a-build
===================================================================
RCS file: /cvsroot/po4a/po4a/share/po4a-build,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- po4a-build	21 Nov 2009 01:01:58 -0000	1.8
+++ po4a-build	23 Nov 2009 15:55:46 -0000	1.9
@@ -268,14 +268,14 @@
 			for file in $PODFILE; do
 				LOCAL=`basename $file`
 				eval_gettext "Processing untranslated files for \$file (1) . . ."; echo
-				pod2man $file $BASEDIR/$POD/man/man1/$LOCAL.1
+				pod2man -s 1 $file $BASEDIR/$POD/man/man1/$LOCAL.1
 			done
 			if [ -n "$PODMODULES" ]; then
 				for file in $PODMODULES; do
 					# a bit of sed magic to convert a path to a module name.
 					name=`echo $file| sed -e 's/^lib\///'|sed -e 's/\//::/g'|sed -e 's/\.pm$//'`
 					eval_gettext "Processing untranslated files for \$name (3) . . ."; echo
-					pod2man $file $BASEDIR/$POD/man/man3/$name.3
+					pod2man -s 3 $file $BASEDIR/$POD/man/man3/$name.3
 				done
 			fi
 			if [ -n "$POD5FILES" ]; then
@@ -336,7 +336,7 @@
 					LOCAL=`basename $file`
 					if [ -f $BASEDIR/pod/1/$l/$LOCAL ]; then
 						eval_gettext "Processing \$l translations for \$file (1). . ."; echo
-						pod2man $BASEDIR/pod/1/$l/$LOCAL $BASEDIR/$POD/man/$l/man1/$LOCAL.1
+						pod2man -s 1 $BASEDIR/pod/1/$l/$LOCAL $BASEDIR/$POD/man/$l/man1/$LOCAL.1
 					fi
 				done
 			fi
@@ -346,7 +346,7 @@
 					name=`echo $file| sed -e 's/^lib\///'|sed -e 's/\//::/g'|sed -e 's/\.pm$//'`
 					if [ -f $BASEDIR/pod/3/$l/$file ]; then
 						eval_gettext "Processing \$l translations for \$name (3). . ."; echo
-						pod2man $BASEDIR/pod/3/$l/$file $BASEDIR/$POD/man/$l/man3/$name.3
+						pod2man -n $name -s 3 $BASEDIR/pod/3/$l/$file $BASEDIR/$POD/man/$l/man3/$name.3
 					fi
 				done
 			fi




More information about the Po4a-commits mailing list