[GRASS-dev] Installing own Python script

Martin Landa landa.martin at gmail.com
Mon Jun 13 13:37:48 EDT 2011


Hi,

2011/6/13 Martin Landa <landa.martin at gmail.com>:

[...]

> I think that there should the per-script "install" target. At least
> for g.extension. Currently, g.extension fails with error.

done in r46687 (review needed).

> Installing 'r.threshold'...
> make: *** No rule to make target `install'.  Stop.
> WARNING: Installation failed, sorry. Please check above error messages.

After updating g.extension in G7, it will also install scripts

Installing 'r.threshold'...
/usr/bin/install -c
/home/martin/grassdata/nc_spm_08/landa/.tmp/pierre/17412.0/r.threshold/scripts/r.threshold
/home/martin/.grass7/addons//scripts/
/usr/bin/install -c  -m 644
/home/martin/grassdata/nc_spm_08/landa/.tmp/pierre/17412.0/r.threshold/docs/html/r.threshold.html
/home/martin/.grass7/addons//docs/html/
/usr/bin/install -c  -m 644
/home/martin/grassdata/nc_spm_08/landa/.tmp/pierre/17412.0/r.threshold/man/man1/r.threshold.1
/home/martin/.grass7/addons//man/man1/
Installation of 'r.threshold' successfully finished.

Martin

-- 
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa


More information about the grass-dev mailing list