> Gesendet: Dienstag, 06. Juni 2023 um 01:21 Uhr
> Von: "andy pugh" <bodge...@gmail.com>
> An: "EMC developers" <emc-developers@lists.sourceforge.net>
> Betreff: [Emc-developers] Where to put a file?
>
> I am trying to add the mesa_modbus framework into the build, targeted
> for linuxcnc-dev
>
> I think it is fairly clear the executable Python file "modcompile"
> should be parked in linuxcnc-dev/bin and then installed to /bin
>
> However there is a C template (mesa_modbus.c) that is needed, and I
> don't know where that should live. Possibly in /share/ ?

That sounds about right to me. If I would look for that file, my first checks 
would be /usr/share/linuxcnc/{src,template,...}/

>
> Any better ideas? I suppose the only other options are /lib and /include ?
lib would rather be for binary files and include, hm, not since the file itself 
is not compiled?

> The file is copied to a temp directory before being compiled, so does
> not have to remain as a .c file, if something else would make sense. (
> mesa_modbus.templ?)
mesa_modbus.c.tmpl ?

Best,
Steffen


_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to