2008/1/31, Victor Lowther <[EMAIL PROTECTED]>: > On Jan 30, 2008 8:27 PM, Michael Biebl <[EMAIL PROTECTED]> wrote: > > 2008/1/31, Michael Biebl <[EMAIL PROTECTED]>: > > > One way to simplify this is as follows: > > > > > > sleep_in_scripts = foo.in bar.in baz.in > > > sleep_SCRIPTS=$(sleep_in_scripts:.in=) > > > CLEANFILES=$(sleep_SCRIPTS) > > > do_subst = ... > > > %: %.in Makefile > > > $(do_subst) $< > $@ > > > > > > %: %.in is a gnu make extension though. > > It turns out that there is a POSIX-ish way of doing this (I think). >
Not quite: $(sleep_SCRIPTS): $(sleep_sources) Makefile this means, whenever *one* of the .in files is changed, all files are re-processed. Not quite what we want. Maybe we should put this whole effort on hold for the moment until we find a better, less ugly way. Cheers, Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth? _______________________________________________ Pm-utils mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/pm-utils
