Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 43 lines (34 sloc) 0.668 kb
cc5e008 @zsuraski * Added buildconf, runs all the scripts necessary to build configure …
zsuraski authored
1 #!/bin/sh
117d6a4 Let user override default setting of ``make''
Sascha Schumann authored
2 # $Id$
cc5e008 @zsuraski * Added buildconf, runs all the scripts necessary to build configure …
zsuraski authored
3
8684e74 MFH: - Made build system less major version dependant to ease MFB/MFH
Jani Taskinen authored
4 eval `grep '^PHP_EXTRA_VERSION=' configure.in`
5 case "$PHP_EXTRA_VERSION" in
7575a5e cleanup
foobar authored
6 *-dev)
7 dev=1
8 ;;
9 *)
10 dev=0
11 ;;
0eb7919 @wez MFB buildconf sanity check
wez authored
12 esac
13
14 devok=0
52e00b8 Added --debug option to buildconf
foobar authored
15 debug=no
0eb7919 @wez MFB buildconf sanity check
wez authored
16
e4c6142 Revert undiscussed / undecided patch
foobar authored
17 while test $# -gt 0; do
18 if test "$1" = "--force"; then
19 devok=1
20 echo "Forcing buildconf"
21 fi
8a7784d make copy optional
Sascha Schumann authored
22
52e00b8 Added --debug option to buildconf
foobar authored
23 if test "$1" = "--debug"; then
24 debug=yes
25 fi
26
e4c6142 Revert undiscussed / undecided patch
foobar authored
27 shift
5278f12 iterate through passed arguments
Sascha Schumann authored
28 done
bca90b0 changing this to mv ZendEngine2 Zend instead of shell logic that isn'…
James Cox authored
29
0eb7919 @wez MFB buildconf sanity check
wez authored
30 if test "$dev" = "0" -a "$devok" = "0"; then
7575a5e cleanup
foobar authored
31 echo "You should not run buildconf in a release package."
32 echo "use buildconf --force to override this check."
33 exit 1
0eb7919 @wez MFB buildconf sanity check
wez authored
34 fi
372cab2 some people would prefer to be able to specify. So, we specify --Zend…
James Cox authored
35
0181cae Some crappy makes don't handle the .PHONY target correctly.
Sascha Schumann authored
36 rm -f generated_lists
37
996c9d8 - Fix buildconf with BSD make
foobar authored
38 if test "$debug" = "yes"; then
a56e81f - Removed unused parts
Jani Taskinen authored
39 ${MAKE:-make} -s -f build/build.mk SUPPRESS_WARNINGS=""
996c9d8 - Fix buildconf with BSD make
foobar authored
40 else
a56e81f - Removed unused parts
Jani Taskinen authored
41 ${MAKE:-make} -s -f build/build.mk
996c9d8 - Fix buildconf with BSD make
foobar authored
42 fi
Something went wrong with that request. Please try again.