Making Packager-Friendly Software
Subject:   Patching Makefiles?!
Date:   2005-05-10 12:36:33
From:   aristotle
Response to: Patching Makefiles?!

Ah. Well, that is why it’s good to write Makefiles such that large aggregate values like CFLAGS are concatenated from many different partial variables. :) A typical example might be MAN1DIR=$(PREFIX)/$(MANDIR)/man1 which gives maximum flexibility in how to influence the final destination of manpages from section 1. Well written Makefiles aren’t difficult to write, it just takes a bit of thought and work, and small projects without too much optional functionality don’t really need any additional build system scaffolding.