Fix build with --enable-installed-tests

Space, the ultimate frontier...and the breaker of Makefiles.
This commit is contained in:
Matthias Clasen 2013-06-24 13:37:41 -04:00
parent 3084286874
commit ada04546f0

View File

@ -44,10 +44,10 @@ insttest_PROGRAMS = \
cally-clone-example
%.test: %$(EXEEXT) Makefile
$(AM_V_GEN) (echo '[Test]' > $@.tmp; \
echo 'Type=session' >> $@.tmp; \
echo 'Exec=$(insttestdir)/$<' >> $@.tmp; \
mv $@.tmp $@)
$(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)