On 2024/11/03 11:08, Marc Espie wrote: > This smaller script tries to match Makefile variables against > Makefile.template > and reports violation. > > (manpage should be trivial) > > (this does not handle include files yet, though I'm not quite sure how > to proceed about those) > > I'm not 100% sure it's something we want, quick poll of landry and aja says > "no", but I remember in the past some people insisting about respecting > Makefile.template order.
I think this might tend to increase whining about things that don't matter, and one can still write a horrible looking Makefile with things in the 'right' order ;) In particular a rigid order makes things less readable for many multi- package ports. > Surprisingly, stuff like REVISION and EPOCH is not in Makefile.template. Probably because they're never necessary in a new port (i.e. where the template is normally used..)