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.
This commit is contained in:
Matthias Clasen 2014-01-01 22:30:24 -05:00
parent dba1ae12a8
commit 11ddb843b9

View File

@ -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