From 534ee284bb8f3c670a5ddf0de8679f8e3eeffc3d Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sun, 1 Feb 2009 16:17:53 +0000 Subject: [PATCH] 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 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile.in b/Makefile.in index 0b300be7..eee57dae 100644 --- a/Makefile.in +++ b/Makefile.in @@ -195,10 +195,12 @@ install-bin: $(DESTDIR)$(BINDIR) install-lib: uninstall-lib $(DESTDIR)$(LIBDIR) install-lib-main install-lib-samples install-lib-main: $(DESTDIR)$(LIBDIR) - @for src_dir in config kconfig patches scripts; do \ - echo " INST '$${src_dir}/'"; \ - tar cf - --exclude=.svn $${src_dir} |(cd "$(DESTDIR)$(LIBDIR)"; tar xf -); \ + @for src_dir in config kconfig patches scripts; do \ + echo " INST '$${src_dir}/'"; \ + tar cf - --exclude=.svn --exclude='*.sh.in' $${src_dir} \ + |(cd "$(DESTDIR)$(LIBDIR)"; tar xf -); \ done + @chmod a+x $(DESTDIR)$(LIBDIR)/scripts/crosstool-NG.sh @rm -f "$(DESTDIR)$(LIBDIR)/scripts/addToolVersion.sh" @echo " INST 'steps.mk'" @$(install) -m 644 steps.mk "$(DESTDIR)$(LIBDIR)/steps.mk"