Install a11y tests too

https://bugzilla.gnome.org/show_bug.cgi?id=702941
This commit is contained in:
Matthias Clasen 2013-06-23 23:17:25 -04:00
parent e98f32b7c8
commit 3084286874
1 changed files with 21 additions and 0 deletions

View File

@ -33,4 +33,25 @@ cally_clone_example_SOURCES = $(common_sources) cally-clone-example.c
DISTCLEANFILES =
if ENABLE_INSTALLED_TESTS
# installed tests
insttestdir = $(libexecdir)/installed-tests/$(PACKAGE)/accessibility
insttest_PROGRAMS = \
cally-atkcomponent-example \
cally-atkeditabletext-example \
cally-atkevents-example \
cally-atktext-example \
cally-clone-example
%.test: %$(EXEEXT) Makefile
$(AM_V_GEN) (echo '[Test]' > $@.tmp; \
echo 'Type=session' >> $@.tmp; \
echo 'Exec=$(insttestdir)/$<' >> $@.tmp; \
mv $@.tmp $@)
testmetadir = $(datadir)/installed-tests/$(PACKAGE)
testmeta_DATA = $(insttest_PROGRAMS:=.test)
endif
-include $(top_srcdir)/build/autotools/Makefile.am.gitignore