[glib] Make /contenttype/tree test work installed
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Make /contenttype/tree test work installed
- Date: Thu, 2 Jan 2014 03:31:44 +0000 (UTC)
commit 11ddb843b9a0f7b56cb0c4b166eacd321e3e6dd3
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Jan 1 22:30:24 2014 -0500
Make /contenttype/tree test work installed
The x-content/win32-software type is only recognized if
the autorun.exe file is executable. Since the file is installed
as data, we need to fix up its permissions in an
install-data-hook.
gio/tests/Makefile.am | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gio/tests/Makefile.am b/gio/tests/Makefile.am
index 0fae466..1cb0924 100644
--- a/gio/tests/Makefile.am
+++ b/gio/tests/Makefile.am
@@ -541,3 +541,6 @@ giotypefuncs.c: Makefile
sort | uniq | \
$(SED) -e 's/^/*tp++ = /' -e 's/$$/ ();/' >> xgen-gio && \
cp xgen-gio $@ # && rm -f xgen-gio xgen-giosrc.c
+
+install-data-hook:
+ $(AM_V_at) chmod a+x $(DESTDIR)$(installed_testdir)/x-content/win32-software/autorun.exe
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]