On Sat, 22 May 2010 21:45:23 +0200, Colomban wrote:
Dominic Hopf a écrit :
Am Samstag, den 22.05.2010, 17:17 +0200 schrieb Colomban Wendling:
Hi everyone,
I'm trying to move my plugin (geanygendoc) into geany-plugins, but I have some problems porting the build system -- not used to it.
The thing is that I have data files to install. In my current external build system, I install them into $(geany_datadir)/plugins/geanygendoc, I think it is probably the good place. Yes, no?
No. I think I remember we discussed this a few month ago. The final decision was, to have a separate directory (/usr/share/geany-plugins/), since geany-plugins is another project than geany itself. There already are some plugins saving their data there, so I'd recommend you to do it the same.
Ah, share/geany-plugins, why not. But AFAIK there is not geany-plugin that installs data files, only
geanylua installs some files there.
second problem which prevents plugin-specific hack is the DATADIR defined in vars.build.mk that also points to $(prefix)/share. I'd think there should be a $(plugindatadir) variable that points to $(prefix)/share/$(plugin), probably defined by a vars.data.mk.
I leave this up to Chow, I have no idea about the autotools based build.
Regards, Enrico