]> git.ipfire.org Git - thirdparty/systemd.git/commit
meson: make sure html symlinks are also created in build directory 5871/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 1 May 2017 04:17:20 +0000 (00:17 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 1 May 2017 15:55:48 +0000 (11:55 -0400)
commit38acf8a72136314157c955fab61eb6df7930755e
treebe029c39be6051d2e05bdce5ec15050141b9690f
parent064d9ef0d784f2f92a1918dbf33abd48c05880a1
meson: make sure html symlinks are also created in build directory

The symlinks should be created in the build directory in two cases: when
configuration specifies -Dhtml=true, or when ninja html target is built.
Normally install : {true,false} is used to decide if a target should be built,
but in this case, we cannot use install : true, because, as described in
488477d101, that results in the target file being copied into the
installation directory instead of a symlink. So we need a work-around. To
achieve the first end, the commands to create the symlinks are added as
dependencies of the command to create the html page. To the second end, they
are added as dependencies of the html target.

Follow-up for 488477d101 and 064d9ef0d7.
man/meson.build