Update version back to +svn.
Note: to show that svn is current version plus current developements, the dash (-) has been replaced with a plus (+).
Thus, now that 0.1.0 has been released, we're preparing the next version, that is 0.1.0 plus svn developments, thus 0.1.0+svn
6 PREFIX_DEFAULT=/usr/local
31 PREFIX=$(get_optval "$1" "$2")
33 [ -z "${BINDIR_set}" ] && BINDIR="${PREFIX}/bin"
34 [ -z "${LIBDIR_set}" ] && LIBDIR="${PREFIX}/lib/ct-ng-${VERSION}"
35 [ -z "${DOCDIR_set}" ] && DOCDIR="${PREFIX}/share/doc/ct-ng-${VERSION}"
36 [ -z "${MANDIR_set}" ] && MANDIR="${PREFIX}/share/man/man1"
42 BINDIR=$(get_optval "$1" "$2")
50 LIBDIR=$(get_optval "$1" "$2")
58 DOCDIR=$(get_optval "$1" "$2")
66 MANDIR=$(get_optval "$1" "$2")
74 \`configure' configures ct-ng ${VERSION} to adapt to many kind of systems.
76 USAGE: ./configure [OPTION]...
78 Defaults for the options are specified in brackets.
81 -h, --help display this help and exit
82 --prefix=PREFIX install files in PREFIX [${PREFIX_DEFAULT}]
83 --local don't install, and use current directory
85 By default, \`make install' will install all the files in
86 \`${PREFIX_DEFAULT}/bin', \`${PREFIX_DEFAULT}/lib' etc. You can specify
87 an installation prefix other than \`${PREFIX_DEFAULT}' using \`--prefix',
88 for instance \`--prefix=\${HOME}'.
90 For better control, use the options below.
92 Fine tuning of the installation directories:
93 --bindir=DIR user executables [PREFIX/bin]
94 --libdir=DIR object code libraries [PREFIX/lib]
95 --docdir=DIR info documentation [PREFIX/share/doc]
96 --mandir=DIR man documentation [PREFIX/share/man]
100 while [ $# -ne 0 ]; do
102 --prefix*) set_prefix "$1" "$2" && shift || shift 2;;
103 --bindir*) set_bindir "$1" "$2" && shift || shift 2;;
104 --libdir*) set_libdir "$1" "$2" && shift || shift 2;;
105 --docdir*) set_docdir "$1" "$2" && shift || shift 2;;
106 --mandir*) set_mandir "$1" "$2" && shift || shift 2;;
107 --local) LOCAL_set=1; shift;;
108 --help|-h) do_help; exit 0;;
113 [ -z "${PREFIX}" ] && set_prefix "" "${PREFIX_DEFAULT}"
114 if [ "${LOCAL_set}" = "1" ]; then
118 set_docdir "" $(pwd)/docs
119 set_mandir "" $(pwd)/docs
122 sed -r -e "s,@@BINDIR@@,${BINDIR},g;" \
123 -e "s,@@LIBDIR@@,${LIBDIR},g;" \
124 -e "s,@@DOCDIR@@,${DOCDIR},g;" \
125 -e "s,@@MANDIR@@,${MANDIR},g;" \
126 -e "s,@@VERSION@@,${VERSION},g;" \
127 -e "s,@@DATE@@,${DATE},g;" \
128 -e "s,@@LOCAL@@,${LOCAL_set},g;" \
129 Makefile.in >Makefile
132 ct-ng configured as follows: