Hacker News new | ask | show | jobs
by francescovv 806 days ago
> you need to "edit your makefile". That isn't going to work for distributions

Is it not? [st] requires exactly that. And it works for distros, from what I can tell - debian/ubuntu, arch, almost everybody seem to ship it just fine.

[st] https://st.suckless.org/

1 comments

OK, maybe "not work well for distributions"?

Looking at Debian, they are distributing a series of patches to the Makefile. Getting away from autotools by having every distro patch your makefile might still be better than autotools, but I'd hope we might be able to do even better?

> Debian (...) are distributing a series of patches to the Makefile.

Where do you see that, sorry? I'm looking at the "Download Source Package" section here:

https://packages.debian.org/sid/stterm

...and the only patch on there is debian/patches/0001-fix-buffer-overflow-when-handling-long-composed-inpu.patch, which doesn't touch Makefie.

I wasn’t sure what the package was called, so I searched for ‘suckless’, and found this, with two Makefile patches.

https://sources.debian.org/patches/suckless-tools/46-1/