On Wednesday, August 31, 2016 at 5:52:02 PM UTC+5:30, Paul Moore wrote: > On Sunday, 21 August 2016 15:20:39 UTC+1, Marko Rauhamaa wrote: > > > Aren’t makefiles data-driven? > > > > Yes, "make" should be added to my sin list. > > > > > [Personally Ive always believed that jam is better than make and is > > > less used for entirely historical reasons; something like half the > > > world eoling with crlf and half with lf. But maybe make is really a > > > better design because more imperative?] > > > > Don't know jam, but can heartily recommend SCons. > > The data driven side of make is the target: sources part. But (particularly > as a Python programmer, where build dependencies are less of an issue) a huge > part of make usage is in my experience, simply name: actions pairs (which is > the less data driven aspect), maybe with an element of "always do X before Y". > > I've generally found "make successors" like SCons and waf to be less useful, > precisely because they focus on the dependency graph (the data driven side) > and less on the trigger-action aspect. > > Has anyone else found this to be the case? Is there any "make replacement" > out there that focuses more on named sets of actions (maybe with > prerequisite/successor type interdependencies), and less on building file > dependency graphs? > > Paul
Dont know much of jam. Still here goes Jam users write two files Jamfile (like Makefile) and Jambase (the make rules reified which in practice is rarely needed to be modified by a vanilla user) You probably want to use jam and write your own jambase https://swarm.workshop.perforce.com/view/guest/perforce_software/jam/src/Jambase.html -- https://mail.python.org/mailman/listinfo/python-list