From acd84a454aa6db429e0f0f87a2a958c8a7fcd1c7 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Thu, 28 Apr 2016 17:00:41 +0200 Subject: Fix install with installed tests disabled --- tests/Makefile.am.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') diff --git a/tests/Makefile.am.inc b/tests/Makefile.am.inc index 4a89138..6767275 100644 --- a/tests/Makefile.am.inc +++ b/tests/Makefile.am.inc @@ -35,9 +35,11 @@ tests/services/org.freedesktop.XdgApp.service: session-helper/org.freedesktop.Xd tests/libtest.sh: tests/services/org.freedesktop.portal.Documents.service tests/services/org.freedesktop.XdgApp.service install-data-hook: +if ENABLE_INSTALLED_TESTS mkdir -p $(DESTDIR)$(installed_testdir)/services ln -sf $(dbus_servicedir)/org.freedesktop.XdgApp.service $(DESTDIR)$(installed_testdir)/services/ ln -sf $(dbus_servicedir)/org.freedesktop.portal.Documents.service $(DESTDIR)$(installed_testdir)/services/ +endif check_PROGRAMS += $(TEST_PROGS) -- cgit v1.2.1