[GRASS-dev] python scripts in grass6

Martin Landa landa.martin at gmail.com
Mon Jul 6 09:43:29 EDT 2009


Hi,

2009/7/6 Glynn Clements <glynn at gclements.plus.com>:

[...]

>> Probably I was unclear, I would like just to avoid having two separate
>> Makefiles for one Python script, one for GRASS7 with `PGM=module` and
>> the second for GRASS6 with `PGM=module.py`. Nothing more.
>
> Regardless, make needs to know which file it's supposed to be
> creating. If you want to autodect this, it requires new code; current
> or previous practice in GRASS 7 won't help.

Probably it would make sense to add support to the building system for
shell scripts again - some users have a lot of such scripts. Then PGM
should always contain file extension.

Martin

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


More information about the grass-dev mailing list