[Po4a-commits] r2629 - /web/html-build-upload.sh

barbier-guest at users.alioth.debian.org barbier-guest at users.alioth.debian.org
Sat Oct 6 17:24:09 UTC 2012


Author: barbier-guest
Date: Sat Oct  6 17:24:08 2012
New Revision: 2629

URL: http://svn.debian.org/wsvn/po4a/?sc=1&rev=2629
Log:
Use po4a instead of po4a-build to build translated documentation

Set PO4AFLAGS to '-k 0' to mimic old behavior.

Modified:
    web/html-build-upload.sh

Modified: web/html-build-upload.sh
URL: http://svn.debian.org/wsvn/po4a/web/html-build-upload.sh?rev=2629&op=diff
==============================================================================
--- web/html-build-upload.sh (original)
+++ web/html-build-upload.sh Sat Oct  6 17:24:08 2012
@@ -32,9 +32,8 @@
 	LANGS=$LANGS" "$(echo $lang | sed -e 's,^po/pod/,,' -e 's,\.po$,,')
 done
 
-sed -e 's/^KEEP=.*/KEEP=0/' po4a-build.conf > po4a-build.conf.www
-./share/po4a-build -f po4a-build.conf.www
-rm -rf po4a-build.conf.www
+perl Build.PL
+PO4AFLAGS='-k 0' ./Build
 cd $curdir
 
 rm -rf html.gen/
@@ -129,6 +128,7 @@
 	echo Generate the $lang HTML pages
 	for man in html.gen/$lang/man*/*
 	do
+		#test -e $man || continue
 		out=html.gen/man/${man#html.gen/$lang/}.php.$lang
 		footer=footer_$(basename $out)
 		footer=${footer%.$lang}




More information about the Po4a-commits mailing list