[GRASS-dev] Re: [GRASS GIS] #596: provide a grass-config script
GRASS GIS
trac at osgeo.org
Fri Oct 16 02:31:52 EDT 2009
#596: provide a grass-config script
---------------------------+------------------------------------------------
Reporter: hamish | Owner: grass-dev at lists.osgeo.org
Type: enhancement | Status: new
Priority: normal | Milestone: 7.0.0
Component: Installation | Version: svn-trunk
Resolution: | Keywords: gdal-plugin
Platform: All | Cpu: All
---------------------------+------------------------------------------------
Changes (by hamish):
* keywords: => gdal-plugin
Comment:
idea for how this could be done:
write a GRASS_BATCH_FILE which would start grass in a dummy location and
run a single `g.version -b` command, then exit.
(add new flags to g.version as needed for the info you want)
or probably much simpler to just write a script which parses
$GISBASE/include/Make/* as needed.
gdal-config has:
{{{
Usage: gdal-config [OPTIONS]
Options:
[--prefix[=DIR]]
[--libs]
[--dep-libs]
[--cflags]
[--datadir]
[--version]
[--ogr-enabled]
[--formats]
}}}
which of those would be useful in a grass-config? (obviously not the last
two)
any additional requests for options?
Hamish
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/596#comment:2>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list