alexkay / spek

Acoustic spectrum analyser
http://spek.cc
GNU General Public License v3.0
2.5k stars 255 forks source link

Switch from Autoconf to plain Make #276

Closed matteobin closed 11 months ago

matteobin commented 1 year ago

GNU Autoconf is too complicated! Spek is a small program, so classic Make will suffice. Now everything is in a short Makefile (<= 300 LOC), which should be POSIX too. I've removed all the Autoconf leftovers I could find, but maybe the po dir could be further cleaned.

The only thing left to do is to add a target to update the PO template file with xgettext and merge it with existing translation files, using msgmerge.

matteobin commented 1 year ago

The last commit fully integrates all gettext steps in Makefile.

If you have no use for a plain Make build system, feel very free to discard everything. I did it to understand build systems and as a simplification exercise.

I can provide assistance to edit the Makefile for your needs, or to accommodate for different OS peculiarities.