eeze: handle its intall hook correctly.

This commit is contained in:
Cedric Bail 2013-05-05 17:25:48 +09:00
parent 7cac6667e6
commit 019a8b8298
2 changed files with 5 additions and 4 deletions

View File

@ -15,6 +15,8 @@ check_PROGRAMS =
TESTS =
EXTRA_DIST =
EFL_INSTALL_DATA_HOOK=
include Makefile_Efl.am
include Makefile_Evil.am
@ -101,8 +103,7 @@ clean-local:
find . -type f -name check-results.xml -delete
install-data-hook:
echo $(DESTDIR)
echo $(libdir)
$(EFL_INSTALL_DATA_HOOK)
for i in $(lib_LTLIBRARIES); do \
export file=`basename $$i`; \
sed -e "s/-luuid//" $(DESTDIR)/${libdir}/$$file > $(DESTDIR)/${libdir}/$$file.tmp && mv $(DESTDIR)/${libdir}/$$file.tmp $(DESTDIR)/${libdir}/$$file; \

View File

@ -133,8 +133,8 @@ bin_eeze_eeze_scanner_LDADD = @USE_EEZE_LIBS@
bin_eeze_eeze_scanner_DEPENDENCIES = @USE_EEZE_INTERNAL_LIBS@
setuid_root_mode = a=rx,u+xs
install-data-hook::
@chmod $(setuid_root_mode) $(DESTDIR)$(bindir)/eeze_scanner$(EXEEXT) || true
EFL_INSTALL_DATA_HOOK+=@chmod $(setuid_root_mode) $(DESTDIR)$(bindir)/eeze_scanner$(EXEEXT) || true;
### Unit tests