[GRASS-dev] configure.in: quotation marks
Martin Landa
landa.martin at gmail.com
Tue Oct 25 13:47:14 EDT 2011
Hi,
2011/10/25 Glynn Clements <glynn at gclements.plus.com>:
> To prevent ${prefix} from being expanded in the resulting
> Platform.make file.
thanks for the clarification.
>> the result is
>>
>> Installation directory: ${prefix}/grass-7.0.svn
>>
>> which is not really informative.
>>
>> I would suggest to remove these quotation marks in configure.log.
>
> The current behaviour is intentional; it allows e.g.
> "make install prefix=..." to work as expected.
OK, change bellow should harmless, right?
-LOC_MSG([ Installation directory: ${INSTDIR}])
+if test -n "$MACOSX_APP" ; then
+ LOC_MSG([ Installation directory:
${prefix}"/GRASS-${GRASS_VERSION_MAJOR}.${GRASS_VERSION_MINOR}.app/Contents/MacOS"])
+else
+ LOC_MSG([ Installation directory:
${prefix}"/grass-${GRASS_VERSION_MAJOR}.${GRASS_VERSION_MINOR}.${GRASS_VERSION_RELEASE}"])
+fi
+
Martin
--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
More information about the grass-dev
mailing list