mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 23:46:17 +01:00
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:
parent
dba1ae12a8
commit
11ddb843b9
@ -541,3 +541,6 @@ giotypefuncs.c: Makefile
|
|||||||
sort | uniq | \
|
sort | uniq | \
|
||||||
$(SED) -e 's/^/*tp++ = /' -e 's/$$/ ();/' >> xgen-gio && \
|
$(SED) -e 's/^/*tp++ = /' -e 's/$$/ ();/' >> xgen-gio && \
|
||||||
cp xgen-gio $@ # && rm -f xgen-gio xgen-giosrc.c
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user