[Mud-builder-commits] r257 - www-src

jaffa at garage.maemo.org jaffa at garage.maemo.org
Mon Jan 19 04:15:56 EET 2009


Author: jaffa
Date: 2009-01-19 04:15:56 +0200 (Mon, 19 Jan 2009)
New Revision: 257

Modified:
   www-src/build.sh
Log:
Add pdoc commands to web site's build.sh

Modified: www-src/build.sh
===================================================================
--- www-src/build.sh	2009-01-19 02:12:16 UTC (rev 256)
+++ www-src/build.sh	2009-01-19 02:15:56 UTC (rev 257)
@@ -44,3 +44,12 @@
   done
 fi
 
+# -- Re-generate Perl documentation...
+#
+### Will only run if http://pdoc.sf.net/ is installed and
+### scripts/perlmod2www.pl is copied to /usr/local/bin/pdoc
+if [ -x /usr/local/bin/pdoc ]; then
+  cd ${BIN_DIR}
+  mkdir pod
+  /usr/local/bin/pdoc -source ${SRC_DIR}/../trunk/lib -target ${BIN_DIR}/pod
+fi



More information about the Mud-builder-commits mailing list