[Po4a-commits] "po4a html-build-upload.sh,1.25,1.26"

Denis Barbier barbier-guest at alioth.debian.org
Wed Jul 28 05:50:52 UTC 2010


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

Modified Files:
	html-build-upload.sh 
Log Message:
Move Perl modules documentation into section 3

There were some trouble with .3 and .3pm, everything
should just work now.
'make doc' does no more exist, call po4a-build instead.


Index: html-build-upload.sh
===================================================================
RCS file: /cvsroot/po4a/po4a/html-build-upload.sh,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- html-build-upload.sh	28 Jul 2010 05:48:46 -0000	1.25
+++ html-build-upload.sh	28 Jul 2010 05:50:50 -0000	1.26
@@ -25,16 +25,16 @@
 
 PO4A_OPTS="-k 0 -v -f pod -M utf-8"
 
-./Build man
+./share/po4a-build -f po4a-build.conf
 
 rm -rf html.gen/
-cp -a blib/man html.gen
+cp -a _build/po4a/man html.gen
 mkdir -p html.gen/en/
 mv html.gen/man* html.gen/en/
-mkdir html.gen/en/man3pm
 mkdir html.gen/man
 mkdir html.gen/man/man1
-mkdir html.gen/man/man3pm
+mkdir html.gen/man/man3
+mkdir html.gen/man/man5
 mkdir html.gen/man/man7
 
 libver=$(grep '$VERSION=' lib/Locale/Po4a/TransTractor.pm | \
@@ -62,8 +62,8 @@
 do
 	name=$(basename $file)
 	name=${name//.pm/}
-	pod2man --utf8 --section=3pm --release="Po4a Tools" --center="Po4a Tools" \
-	    $file html.gen/en/man3pm/Locale::Po4a::$name.3pm
+	pod2man --utf8 --section=3 --release="Po4a Tools" --center="Po4a Tools" \
+	    $file html.gen/en/man3/Locale::Po4a::$name.3
 done
 for file in po4a po4a-gettextize po4a-normalize po4a-translate po4a-updatepo
 do
@@ -87,10 +87,6 @@
 	wlang=${wlang/pl/pl-utf8}
 	wlang=${wlang/es/es-utf8}
 	echo Generate the $lang index
-	if [ -d html.gen/$lang/man3 ]
-	then
-		mv html.gen/$lang/man3 html.gen/$lang/man3pm
-	fi
 
 	echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">
 <html>




More information about the Po4a-commits mailing list