Skip to content
Newer
Older
100755 43 lines (33 sloc) 693 Bytes
cc5e008 @zsuraski * Added buildconf, runs all the scripts necessary to build configure …
zsuraski authored Apr 18, 1999
1 #!/bin/sh
117d6a4 Let user override default setting of ``make''
Sascha Schumann authored Dec 2, 1999
2 # $Id$
cc5e008 @zsuraski * Added buildconf, runs all the scripts necessary to build configure …
zsuraski authored Apr 18, 1999
3
0eb7919 @wez MFB buildconf sanity check
wez authored May 19, 2003
4 eval `grep '^EXTRA_VERSION=' configure.in`
5 case "$EXTRA_VERSION" in
7575a5e cleanup
foobar authored May 19, 2003
6 *-dev)
7 dev=1
8 ;;
9 *)
10 dev=0
11 ;;
0eb7919 @wez MFB buildconf sanity check
wez authored May 19, 2003
12 esac
13
14 devok=0
15
5278f12 iterate through passed arguments
Sascha Schumann authored Jun 24, 2002
16 while test $# -gt 0; do
7575a5e cleanup
foobar authored May 19, 2003
17 if test "$1" = "--copy"; then
18 automake_flags=--copy
19 fi
1207465 @zsuraski This should sort the buildconf bug...
zsuraski authored Aug 2, 1999
20
7575a5e cleanup
foobar authored May 19, 2003
21 if test "$1" = "--force"; then
22 devok=1
23 echo "Forcing buildconf"
24 fi
8a7784d make copy optional
Sascha Schumann authored Jul 17, 1999
25
7575a5e cleanup
foobar authored May 19, 2003
26 shift
5278f12 iterate through passed arguments
Sascha Schumann authored Jun 24, 2002
27 done
bca90b0 changing this to mv ZendEngine2 Zend instead of shell logic that isn'…
James Cox authored Jun 23, 2002
28
0eb7919 @wez MFB buildconf sanity check
wez authored May 19, 2003
29 if test "$dev" = "0" -a "$devok" = "0"; then
7575a5e cleanup
foobar authored May 19, 2003
30 echo "You should not run buildconf in a release package."
31 echo "use buildconf --force to override this check."
32 exit 1
0eb7919 @wez MFB buildconf sanity check
wez authored May 19, 2003
33 fi
34
5278f12 iterate through passed arguments
Sascha Schumann authored Jun 24, 2002
35 if test -z "$ZENDDIR"; then
7575a5e cleanup
foobar authored May 19, 2003
36 ZENDDIR=Zend
37 echo "using default Zend directory"
372cab2 some people would prefer to be able to specify. So, we specify --Zend…
James Cox authored Jun 23, 2002
38 fi
39
0181cae Some crappy makes don't handle the .PHONY target correctly.
Sascha Schumann authored Aug 24, 2000
40 rm -f generated_lists
41
c2cc85d reverse bad patch
Sascha Schumann authored Jul 20, 2002
42 ${MAKE:-make} -s -f build/build.mk AMFLAGS="$automake_flags" ZENDDIR="$ZENDDIR"
Something went wrong with that request. Please try again.