aboutsummaryrefslogtreecommitdiffstats
path: root/src/scanner.c
diff options
context:
space:
mode:
authorDaniel Stone <daniels@collabora.com>2018-07-22 10:00:26 +0100
committerSimon Ser <contact@emersion.fr>2020-01-10 23:42:59 +0100
commit8497144faae61844af2fc9ba4a29256aed0dd402 (patch)
treeeecac38769c0bbe481491036a320e66992bd6a31 /src/scanner.c
parentdoc: Expand the abbreviation "hw" to "hardware". (diff)
downloadwayland-8497144faae61844af2fc9ba4a29256aed0dd402.tar
wayland-8497144faae61844af2fc9ba4a29256aed0dd402.tar.gz
wayland-8497144faae61844af2fc9ba4a29256aed0dd402.tar.bz2
wayland-8497144faae61844af2fc9ba4a29256aed0dd402.tar.lz
wayland-8497144faae61844af2fc9ba4a29256aed0dd402.tar.xz
wayland-8497144faae61844af2fc9ba4a29256aed0dd402.tar.zst
wayland-8497144faae61844af2fc9ba4a29256aed0dd402.zip
build/doc: Ensure destination dir exists despite VPATH
Make considers a variable called VPATH when trying to satisfy dependencies, e.g. for a target 'foo', it will consider the target extant if VPATH is '../../bar' and '../../bar/foo' exists. Part of the doc build, the '$(alldirs)' target, exists to create the target directories if they do not exist. For example, before generating xml/wayland-architecture.png, it will ensure the 'xml' target is considered up-to-date thanks to the target dependency. Creating $(srcdir)/doc/doxygen/xml thus means that the 'xml' dependency will be satisfied, so we'll never create the output directory, and the doc build will fail. 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. Signed-off-by: Daniel Stone <daniels@collabora.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.com>
Diffstat (limited to 'src/scanner.c')
0 files changed, 0 insertions, 0 deletions