Glynn Clements wrote:

> I think that the real-install target in Install.make needs something
> like:
> 
>       -sed 's#$(GISBASE)#$(INST_DIR)#g' \
>               
> $(GISBASE)/demolocation/.grassrc$(GRASS_VERSION_MAJOR)$(GRASS_VERSION_MINOR) \
>               > 
> $(INST_DIR)/demolocation/.grassrc$(GRASS_VERSION_MAJOR)$(GRASS_VERSION_MINOR)
> 
> Similar to what is already done for etc/fontcap. We should probably be
> doing something similar for Platform.make, although that can be
> overridden on the command line when running make.

FWIW, this should be fixed in r43905. The only remaining references to
the source directory should be GRASS_HOME, config.status, comments in
the ctypes wrappers and debug info in binaries.

Actually, you also need r43906, otherwise the g.mapset documentation
uses <srcdir>/dist.<arch>/demolocation as the default database and
location.

Note to developers: *don't* use context-sensitive values for option
defaults unless you have some plan to ensure that the documentation
generated by --html-description isn't bogus.

-- 
Glynn Clements <[email protected]>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to