Set proper mode to installed files; fixes running when not using --local.
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Feb 01 16:17:53 2009 +0000 (2009-02-01)
changeset 1184a4e9bf8c9448
parent 1183 268544004e77
child 1185 6ab978322ed7
Set proper mode to installed files; fixes running when not using --local.

/trunk/Makefile.in | 8 5 3 0 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
Makefile.in
     1.1 --- a/Makefile.in	Sat Jan 31 17:49:27 2009 +0000
     1.2 +++ b/Makefile.in	Sun Feb 01 16:17:53 2009 +0000
     1.3 @@ -195,10 +195,12 @@
     1.4  install-lib: uninstall-lib $(DESTDIR)$(LIBDIR) install-lib-main install-lib-samples
     1.5  
     1.6  install-lib-main: $(DESTDIR)$(LIBDIR)
     1.7 -	@for src_dir in config kconfig patches scripts; do                              \
     1.8 -	     echo "  INST   '$${src_dir}/'";                                            \
     1.9 -	     tar cf - --exclude=.svn $${src_dir} |(cd "$(DESTDIR)$(LIBDIR)"; tar xf -); \
    1.10 +	@for src_dir in config kconfig patches scripts; do              \
    1.11 +	     echo "  INST   '$${src_dir}/'";                            \
    1.12 +	     tar cf - --exclude=.svn --exclude='*.sh.in' $${src_dir}    \
    1.13 +	     |(cd "$(DESTDIR)$(LIBDIR)"; tar xf -);                     \
    1.14  	 done
    1.15 +	@chmod a+x $(DESTDIR)$(LIBDIR)/scripts/crosstool-NG.sh
    1.16  	@rm -f "$(DESTDIR)$(LIBDIR)/scripts/addToolVersion.sh"
    1.17  	@echo "  INST   'steps.mk'"
    1.18  	@$(install) -m 644 steps.mk "$(DESTDIR)$(LIBDIR)/steps.mk"