Re: building svn checkout of manual: "BuildOptionsParser.php" error
| From: | Robert P. J. Day | Date: | Sun, 21 Mar 2010 16:35:21 +0000 |
| Subject: | Re: building svn checkout of manual: "BuildOptionsParser.php" error | ||
| References: | 1 2 3 4 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969381479@lists.php.net to get a copy of this message | ||
On Sun, 21 Mar 2010, Hannes Magnusson wrote:
> Do note that I added the phd_php package as a requirement in the
> comments in build.sh
ah, quite right. but why not just enhance the build.sh script to
make it bulletproof, along the lines of:
=====
#!/bin/sh
# svn co http://svn.php.net/repository/phpdoc/modules/doc-en
# pear install doc.php.net/phd
# pear install doc.php.net/phd_php
# cd doc-en
pear info doc.php.net/PhD > /dev/null 2>&1
if [ $? > 0 ] ; then
echo "You need to install the PEAR package PhD first, exiting."
exit
fi
pear info doc.php.net/PhD_PHP > /dev/null 2>&1
if [ $? > 0 ] ; then
echo "You need to install the PEAR package PhD_PHP first, exiting."
exit
fi
... etc etc ...
=====
rday
--
========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA
Linux Consulting, Training and Kernel Pedantry.
Web page: http://crashcourse.ca
Twitter: http://twitter.com/rpjday
========================================================================