[PATCH wayland v4 1/5] build/doc: Ensure destination dir exists despite VPATH

Daniel Stone daniel at fooishbar.org
Thu Aug 30 13:02:16 UTC 2018

On Wed, 29 Aug 2018 at 17:46, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> On 28 August 2018 at 23:19, Daniel Stone <daniels at collabora.com> wrote:
> > Change the alldirs target list to be absolute paths, so VPATH will not
> > be consulted and defeat the entire point of what we're trying to do.
> > This fixes the Meson build, where we later create
> > doc/doxygen/xml/meson.build.
> >
> Have you tried something as trivial as the below sed?
> s/$(AM_V_GEN)/$(AM_V_GEN)$(MKDIR_P) $@/g

I assume you mean '$(dir $@)' here.

> It will allow you to remove the, dare I say it, bonkers "let's make a
> target that only creates a folder".
> Plus avoid all the complexity that you've proposing.

Sure. I was trying to work within what was already there rather than
rewrite the Makefile, given how fragile the entire thing is, but I've
now rewritten the commit.


More information about the wayland-devel mailing list