projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dba1ae1
)
Make /contenttype/tree test work installed
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 2 Jan 2014 03:30:24 +0000
(22:30 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 2 Jan 2014 03:30:24 +0000
(22:30 -0500)
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
patch
|
blob
|
history
diff --git
a/gio/tests/Makefile.am
b/gio/tests/Makefile.am
index
0fae466
..
1cb0924
100644
(file)
--- 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