Re: feature request - order only deps

2013-02-03 Thread Sebastian Pipping
On 04.02.2013 00:13, Matěj Týč wrote: > On Ne, 2013-02-03 at 23:40 +0100, Sebastian Pipping wrote: >> To my understanding, it would have to be optional and off by default to >> not break other cases that are currently supported. Think of something like >> >> tmp: >> mkdir tmp >> >> tmp/fo

Re: feature request - order only deps

2013-02-03 Thread Matěj Týč
On Ne, 2013-02-03 at 23:40 +0100, Sebastian Pipping wrote: > On 03.02.2013 23:20, Matěj Týč wrote: > >> If that happens how about replacing > >> > >> $(MAKE) cache-foo > >> > >> by something like > >> > >> mkdir .lock 2>/dev/null || exit 0 ; \ > >> $(MAKE) cache-foo ; \ > >> ret=$$?

Re: feature request - order only deps

2013-02-03 Thread Sebastian Pipping
On 03.02.2013 23:20, Matěj Týč wrote: >> If that happens how about replacing >> >> $(MAKE) cache-foo >> >> by something like >> >> mkdir .lock 2>/dev/null || exit 0 ; \ >> $(MAKE) cache-foo ; \ >> ret=$$?; \ >> rmdir .lock && exit $${ret} >> >> The idea is: >> >> - mkdir can

Re: feature request - order only deps

2013-02-03 Thread Matěj Týč
On Ne, 2013-02-03 at 00:45 +0100, Sebastian Pipping wrote: > On 02.02.2013 18:38, Matěj Týč wrote: > >> How about something like this? > >> > >> bar_deps = foo1 foo2 > >> > >> bar: $(bar_deps) > >> > >> $(bar_deps): > >>$(MAKE) cache-foo > >>touch $@ > >> > >> %: > >>touch $@ >