Martin Landa wrote:
> > 5. The definition of PACKAGE needs the backslashes, i.e.:
> >
> > macros = [('PACKAGE', '\\"grasslibs\\"')]
> >
> > (but this might break other platforms).
>
> Then I am getting (GNU/Linux)
>
> <command-line>: warning: missing terminating " character
I thought that something like that might happen. If the existing code
is correct for Linux, a changed version probably wouldn't be.
> Could this be avoided?
if sys.platform == "win32":
package = '\\"grasslibs\\"'
else:
package = '"grasslibs"'
macros = [('PACKAGE', package)]
?
--
Glynn Clements <[email protected]>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev