1 |
tdb |
1.1 |
#!/bin/sh |
2 |
|
|
|
3 |
|
|
# |
4 |
|
|
# i-scream Distributed Centralised Monitoring System |
5 |
|
|
# PHP configure script |
6 |
|
|
# |
7 |
|
|
# $Id$ |
8 |
|
|
# |
9 |
|
|
|
10 |
|
|
## Config |
11 |
|
|
|
12 |
|
|
# This should always be the same |
13 |
|
|
SRCROOT=`pwd` |
14 |
|
|
|
15 |
|
|
## Write out the include file for the Makefile's |
16 |
|
|
|
17 |
|
|
echo "> Generating Makefile includes" |
18 |
|
|
echo " + writing root of source tree" |
19 |
|
|
echo "SOURCEROOT=${SRCROOT}" > ${SRCROOT}/Config.inc |
20 |
|
|
echo " + writing include" |
21 |
|
|
echo "include \$(SOURCEROOT)/Config2.inc" >> ${SRCROOT}/Config.inc |
22 |
|
|
|
23 |
|
|
echo "> Configure Completed" |
24 |
|
|
|
25 |
|
|
## End |