summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2016-04-28 17:00:41 +0200
committerAlexander Larsson <alexl@redhat.com>2016-04-28 17:00:41 +0200
commitacd84a454aa6db429e0f0f87a2a958c8a7fcd1c7 (patch)
treee37ffe9554058cafeb1746b9640658efd2679da5 /tests
parent337f81048cb3d58c75de8c0039e7339cba1a939b (diff)
downloadxdg-app-acd84a454aa6db429e0f0f87a2a958c8a7fcd1c7.tar.gz
Fix install with installed tests disabled
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am.inc2
1 files changed, 2 insertions, 0 deletions
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)