[Geany-devel] Geany-Plugins: DATADIR -> GEANYPLUGINS_DATADIR

Enrico Tröger enrico.troeger at xxxxx
Sun May 23 19:33:42 UTC 2010


Hey guys,

today I renamed the globally defined DATADIR macro ($prefix/share) to
GEANYPLUGINS_DATADIR.

The reason for this is that on Windows, DATADIR is defined in a header
file which is implicitly included by windows.h and this would lead to
compilation errors when DATADIR is defined by the build system.

So, any plugin authors who need to access the DATADIR variable should
use GEANYPLUGINS_DATADIR from now on.

Chow Loong Jin added two more global macros:

PKGDATADIR=$(prefix)/share/geany-plugins
PKGLIBDIR=$(prefix)/lib/geany-plugins


Regards,
Enrico

-- 
Get my GPG key from http://www.uvena.de/pub.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20100523/5e36090f/attachment.pgp>


More information about the Devel mailing list