The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
* [TUHS] Re: autotools
       [not found] <171892043335.3009365.5212614698282084592@minnie.tuhs.org>
@ 2024-06-21 15:42 ` Steve Simon
  0 siblings, 0 replies; only message in thread
From: Steve Simon @ 2024-06-21 15:42 UTC (permalink / raw)
  To: tuhs


my personal frustration with autotools was trying to port code to plan9.

i wish autotools had an intermediate file format which described the packages requirements, that way i could have written my own backend to create my config.h and makefiles (or mkfiles)

in the end i wrote my own tool  which crudely parses a directory of C or F77 sourcecode and uses heuristics to create a config.h and a plan9 mkfile, it was named mkmk(1)

it was almost _never_ completely correct, but usually got close enough that the files only needed a little manual hacking.

it also took great pains to generate mkfiles that looked hand written; if you are going to auto generate files, make them look nice.

-Steve




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-06-21 15:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <171892043335.3009365.5212614698282084592@minnie.tuhs.org>
2024-06-21 15:42 ` [TUHS] Re: autotools Steve Simon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).