CauldronDevelopmentLLC / CAMotics

Open-Source Simulation & Computer Aided Machining - A 3-axis CNC GCode simulator
Other
622 stars 143 forks source link

``scons install`` doesn't install documentation #349

Closed tpimh closed 3 years ago

tpimh commented 3 years ago

I was under the impression that scons install would install machines and examples under ${install_prefix}/share/doc/camotics, but seems that it doesn't. Everything works fine if I copy these two directories to that destination manually, but I believe this should be automated somehow. Is there another SCons target that does this?

jcoffland commented 3 years ago

I don't use the scons install target. Instead, I build a package with scons pacakge then install the package. It's much better to use you OS' package system.

tpimh commented 3 years ago

In this case, I'm writing a script that would build such a package. On one hand, I can build a Debian package, then just unpack it into install_prefix, but that seems overcomplicating things a little bit.

jcoffland commented 3 years ago

I updated the install target. What kind of package are you building? Thanks for the report and let me know if there's anything else.

tpimh commented 3 years ago

Thank you very much for your patch, it fixed the problem! The package I'm building is Flatpak, the manifest can be found here, and now it's fully functional!