Post B83eiyMSDAIYhjQV1c by lanodan@queer.hacktivis.me
 (DIR) More posts by lanodan@queer.hacktivis.me
 (DIR) Post #B83T3azN6aLMqchHwe by navi@social.vlhl.dev
       1 likes, 0 repeats
       
       the thing i dislike about autotools the most is having to wrap debuggers and tooling with libtoolit's just, so annoyinglinux has DT_RUNPATH please use it...
       
 (DIR) Post #B83e21MjAJD1ZQ4cEa by navi@social.vlhl.dev
       1 likes, 0 repeats
       
       @mid_kid i find the wrapper shell script more clunkyspecially cuz now your build directory doesn't even hold your binaries directly, they're all hidden away in a .libs dir as is to say "do not touch this yourself", that is to me also a message of the user isn't really supposed to interact with it manuallyand really, every build system has a install step that can do more than just copying things, it might install symlinks that aren't in the build dir, install files (e.g. config files) directly from the source tree, etcthe assumption that "just copying binaries from builddir verbatim" should be a thing is imo, a recipe for disaster regardless of DT_RUNPATH
       
 (DIR) Post #B83eHY4FrVd9Kzpxdg by lanodan@queer.hacktivis.me
       0 likes, 0 repeats
       
       @navi @mid_kid Reminds me that I have few seds that are done at install time, when makefile-centric it doesn't makes much sense to do it prior.
       
 (DIR) Post #B83eiyBSs1VY9eHitc by navi@social.vlhl.dev
       0 likes, 0 repeats
       
       @lanodan @mid_kid ig the "correct" flow here would be to `sed ... srcdir/file.in > builddir/file` at build timebut it doesn't matter much if you don't want whatever project that is to work when uninstalled
       
 (DIR) Post #B83eiyMSDAIYhjQV1c by lanodan@queer.hacktivis.me
       0 likes, 0 repeats
       
       @navi @mid_kid Well… it just seems incorrect when stuff like PREFIX can be set at install time rather than build time.
       
 (DIR) Post #B83fMX5b1jLLhnPAoK by navi@social.vlhl.dev
       0 likes, 0 repeats
       
       @lanodan @mid_kid ig i just don't expect prefix to be settable at install time, or rather, i don't expect anything except destdir
       
 (DIR) Post #B83fMXHeIuz6JB2nb6 by lanodan@queer.hacktivis.me
       0 likes, 0 repeats
       
       @navi @mid_kid Yeah, it's a bit unexpected but not that strange for raw makefiles.And yeah when there's meson/cmake/autotools/handmade-configure/… usually it's more done at configure time or build time, and you can't change the prefix without effectively rebuilding the whole thing.
       
 (DIR) Post #B83hageUT9QdKIbTou by lanodan@queer.hacktivis.me
       0 likes, 0 repeats
       
       @mid_kid @navi Yeah, I wouldn't rely on it when packaging things, or at least not without carefully reviewing the makefile, instead of the first basic pass on the code.
       
 (DIR) Post #B83qdUufTE5vNHaMK0 by mirabilos@toot.mirbsd.org
       0 likes, 0 repeats
       
       @mid_kid @navi @lanodan set PREFIX at configure time so it won’t be overridden at make time