3 # This is make+. Make+ is a set of scripts which enhance GNU make and
4 # let you build RPMs, and other packages types with just one control
5 # file. Read more at http://www.annexia.org/freeware/makeplus/
7 # The original author is Richard W.M. Jones <rich@annexia.org>.
9 # This software has been explicitly placed in the PUBLIC DOMAIN. You
10 # do not need any sort of license or agreement to use or copy this
11 # software. You may also copyright this software yourself, and/or
12 # relicense it under any terms you want, at any time and at no cost.
13 # This allows you (among other things) to include this software with
14 # other packages so that the user does not need to download and
15 # install make+ separately.
22 ./configure [--options]
24 Installation directory options:
25 --prefix=PREFIX Installation prefix [default: /usr/local]
26 --sysconfdir=SYSCONF Installation prefix for configuration files
28 --localstatedir=STATE Installation prefix for writable files
32 --help Display this help and exit.
33 --print-mp-cmd Display the make+ command and exit (use as final arg)
38 while [ $# -gt 0 ]; do
46 echo "rm -f build-\*/config.mk"
47 echo "make+ $mp_options configure"
51 opt=`echo $opt | sed 's/^--//'`
53 mp_options="$mp_options $opt=$arg"
56 opt=`echo $opt | sed 's/^--//'`
57 mp_options="$mp_options $opt"
60 mp_options="$mp_options $opt"
65 rm -f build-*/config.mk
66 make+ $mp_options configure