[gnome-software] Fix !srcdir builds



commit bcddf3de9c794294135fef98682ee420fce3668e
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Dec 21 13:22:38 2013 -0500

    Fix !srcdir builds
    
    For srcdir != builddir builds, the installed test files had
    rubbish paths in them, since we forgot to strip some directory
    goo.

 glib-tap.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib-tap.mk b/glib-tap.mk
index 4928159..de272a7 100644
--- a/glib-tap.mk
+++ b/glib-tap.mk
@@ -127,7 +127,7 @@ installed_test_meta_DATA = $(installed_testcases:=.test)
 %.test: %$(EXEEXT) Makefile
        $(AM_V_GEN) (echo '[Test]' > $  tmp; \
        echo 'Type=session-exclusive' >> $  tmp; \
-       echo 'Exec=$(installed_testdir)/$<' >> $  tmp; \
+       echo 'Exec=$(installed_testdir)/$(notdir $<)' >> $  tmp; \
        mv $  tmp $@)
 
 CLEANFILES += $(installed_test_meta_DATA)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]