4
# print summary of options
8
This is configuration script for dh-make-php
10
Usage: configure [option]
13
--help show this usage information
14
--prefix set base directory for installation
26
--help|-h) # print usage
30
--prefix) # set install prefix
35
echo "configure: unknown option \`$1'." >&2
39
do test $# -gt 0 && shift; done
42
sed -e "s:^PREFIX=.*$:PREFIX=$PREFIX:" -e "s:^PROGVERSION=.*$:PROGVERSION=$VERSION:" dh-make-pecl > dh-make-pecl.new
43
mv dh-make-pecl.new dh-make-pecl
44
chmod 755 dh-make-pecl
45
sed -e "s:^PREFIX=.*$:PREFIX=$PREFIX:" -e "s:^PROGVERSION=.*$:PROGVERSION=$VERSION:" dh-make-pear > dh-make-pear.new
46
mv dh-make-pear.new dh-make-pear
47
chmod 755 dh-make-pear
49
echo "Prefix set to '${PREFIX}'"
51
echo "Run 'make install' to install the programm."