diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-06-25 13:26:35 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-06-25 15:22:55 +0100 |
commit | e2b3b745128f85d015683119218c65e65b012e2a (patch) | |
tree | d621c39626ae06df6de88f97b3be190386535d05 /tools | |
parent | e29efffd88881eb765ded94e9ebdbb5a76d2fd5f (diff) | |
download | dbus-e2b3b745128f85d015683119218c65e65b012e2a.tar.gz |
Create /var/lib/dbus explicitly rather than as a side-effect
Since Automake 1.11.4, an empty localstatelib_DATA variable will not
create $(localstatelibdir) as a side-effect.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=51406
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Reviewed-by: Lennart Poettering <lennart@poettering.net>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/Makefile.am | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am index c4632e3e..cfd54b8b 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -72,6 +72,9 @@ EXTRA_DIST = run-with-tmp-session-bus.sh strtoll.c strtoull.c CLEANFILES = \ run-with-tmp-session-bus.conf -#create the /var/lib/data directory for dbus-uuidgen -localstatelibdir = $(localstatedir)/lib/dbus -localstatelib_DATA = +# create the /var/lib/dbus directory for dbus-uuidgen +install-data-local: + $(MKDIR_P) $(DESTDIR)$(localstatedir)/lib/dbus + +installcheck-local: + test -d $(DESTDIR)$(localstatedir)/lib/dbus |