From 11ddb843b9a0f7b56cb0c4b166eacd321e3e6dd3 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 1 Jan 2014 22:30:24 -0500 Subject: [PATCH] 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 file changed, 3 insertions(+) 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 -- 2.7.4