Please consider migrating to meson
We're jumping through a lot of hoops to have install.sh and Makefile generic enough for
- in tree builds
- Linux distro builds
- builds for other platforms
Using meson would make this way simpler (it e.g. has the notion of in tree package config files and package config files for the installed system), DESTDIR, changing the installation patch, etc. Things we'd otherwise have to redo ourself.
If meson is an option I could look into adding this (and once it's working we can drop the Makefile and sed invocations).
Note that there's no official go support https://github.com/mesonbuild/meson/issues/123 but since we're not doing much a custom target should be just fine.
Meson is usable on Windows and MacOS too (it's used by e.g. glib and gtk which also need to be buildable on those platforms).
I liked using meson in Phoc, Phosh, so yes +1 to meson.
Awesme. I'll add that to my todo list.
I'm experimenting with meson for making an fcitx5 engine for Varnam. I'll take this up after