diff options
author | Alban Crequy <alban.crequy@collabora.co.uk> | 2011-10-04 16:57:03 +0100 |
---|---|---|
committer | Alban Crequy <alban.crequy@collabora.co.uk> | 2011-11-04 16:44:25 +0000 |
commit | e745c29573950efcb7ffd7c0b6184582c4365c05 (patch) | |
tree | b4fe4824eb2e7f9b32863e3ce7c58026708ab2b3 /tools | |
parent | 45b8e51b72b95646ad855807d0b0f9d89737edf1 (diff) | |
download | telepathy-glib-e745c29573950efcb7ffd7c0b6184582c4365c05.tar.gz |
tests: add --enable-installed-tests
This configure option makes it possible to install the tests in
/usr/lib/telepathy-glib-tests and run them without the sources.
The dbus configuration moved to tests/dbus/dbus-installed for the installed
tests and is duplicated into tests/dbus/dbus-uninstalled for the uninstalled
tests.
https://bugs.freedesktop.org/show_bug.cgi?id=41455
Diffstat (limited to 'tools')
-rw-r--r-- | tools/Makefile.am | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am index 96cc60f58..2f99e0250 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -6,6 +6,16 @@ telepathy-glib-env: telepathy-glib-env.in Makefile sed -e 's![@]abs_top_builddir[@]!$(abs_top_builddir)!' $< > $@ chmod +x $@ +if ENABLE_INSTALLED_TESTS +toolsdir = @tpglibtestsdir@/tools +tools_SCRIPTS = \ + with-session-bus.sh \ + test-wrapper.sh \ + libglibcodegen.py \ + libtpcodegen.py \ + $(NULL) +endif + EXTRA_DIST = \ c-constants-gen.py \ check-coding-style.mk \ |