Martin Landa wrote: > >> currently in GRASS 6 PGM variable must be set including python file > >> extension, in GRASS 7 not, e.g. > >> > >> PGM=v.krige.py in GRASS6 > >> PGM=v.krige in GRASS7 > >> > >> Would be possible to change building system in GRASS 6 to unify it with > >> GRASS 7. > > > > GRASS 7 now *only* allows Python scripts, so I don't think you want to > > unify it quite that far. > > 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. -- Glynn Clements <gl...@gclements.plus.com> _______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev