Fix install with installed tests disabled

tingping/wmclass
Alexander Larsson 2016-04-28 17:00:41 +02:00
parent 337f81048c
commit acd84a454a
1 changed files with 2 additions and 0 deletions

View File

@ -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)