Re: [PATCH][weston] build: mkdir target weston.ini directories before writing

2015-07-17 Thread Quentin Glidic
On 2015-07-16 22:22, Ross Burton wrote: > In parallel out-of-tree builds it is possible for e.g. ivi-shell/weston.ini to > be written before ivi-shell/ exists. Solve this by creating the target > directory first. > > Signed-off-by: Ross Burton > --- > Makefile.am | 2 ++ > 1 file changed, 2 ins

Re: [PATCH][weston] build: mkdir target weston.ini directories before writing

2015-07-17 Thread Burton, Ross
On 17 July 2015 at 12:31, Ross Burton wrote: > + $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(AM_V_GEN)$(SED) \ > Argh. V3 incoming. Ross ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/w

Re: [PATCH][weston] build: mkdir target weston.ini directories before writing

2015-07-17 Thread Burton, Ross
On 17 July 2015 at 12:35, Quentin Glidic wrote: > You should have only one $(AM_V_GEN) per rule. Otherwise output will be: > > GEN ivi-shell/weston.ini > GEN ivi-shell/weston.ini > > It may look like a bug to the user. > > You should do it that way: > > $(AM_V_GEN)$(MKDIR_P) $(dir $@); $(SED)

[PATCH][weston] build: mkdir target weston.ini directories before writing

2015-07-17 Thread Ross Burton
In parallel out-of-tree builds it is possible for e.g. ivi-shell/weston.ini to be written before ivi-shell/ exists. Solve this by creating the target directory first. Signed-off-by: Ross Burton --- Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b

[PATCH][weston] build: mkdir target weston.ini directories before writing

2015-07-16 Thread Ross Burton
In parallel out-of-tree builds it is possible for e.g. ivi-shell/weston.ini to be written before ivi-shell/ exists. Solve this by creating the target directory first. Signed-off-by: Ross Burton --- Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.am b/Makefile.am index