Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
create-php-workdir ------------------ A simple, ugly, faulty script to create PHP working dirs. Prerquirements: - git-new-workdir in $PATH - A clone of the PHP source tree in `pwd`/php-src If this script is then invoked like $ ./create-php-workdir 5.3 it will use git-new-workdir to create a directory called php-5.3 to hold the source of the PHP-5.3 branch and run buildconf in there. Then it will create a bunch of build dirs: build/5.3/debug-notsrm build/5.3/debug-tsrm build/5.3/nodebug-notsrm build/5.3/nodebug-tsrm Which contain configure and config.nice files ready to build different configurations of PHP. Mind that the script does only little error checking and such so be careful. If you are really lazy these should be the steps toget you started: $ mkdir php $ cd php $ mkdir build $ git clone email@example.com:php-src.git $ PHP_AUTOCONF=autoconf213 ./create-php-workdir 5.3 $ ./create-php-workdir 5.4 $ ./create-php-workdir master And then look around the generated directories php-* and build/*