bus: use ln -fs to enable dbus in systemd, not $(LN_S)
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 7 Jun 2011 13:01:39 +0000 (14:01 +0100)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 8 Jun 2011 10:33:21 +0000 (11:33 +0100)
commit3b82500b1b768d880100ed5ea98afcac26286257
tree258b3209efd0690cc4091566526ebf525d6ff9a0
parentf0d4e0fc974e642f54aaf58907db8d5284d9013d
bus: use ln -fs to enable dbus in systemd, not $(LN_S)

Using $(LN_S) is inappropriate because it could in theory mean either
ln -s, ln or cp -p depending on autoconf checks.

Not using -f breaks reinstallation directly from source (DESTDIR unset),
because the symlinks will already exist.

Because systemd isn't currently portable to non-Linux, let alone
non-SUS-compliant systems, it seems safe to assume that ln -fs behaves
as specified by SUS if systemd was found.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37870
Reviewed-by: Colin Walters <walters@verbum.org>
bus/Makefile.am