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(-)
This commit is contained in:
Yann E. MORIN" 2009-02-01 16:17:53 +00:00
parent 380ac20c2d
commit 534ee284bb

View File

@ -197,8 +197,10 @@ install-lib: uninstall-lib $(DESTDIR)$(LIBDIR) install-lib-main install-lib-samp
install-lib-main: $(DESTDIR)$(LIBDIR) install-lib-main: $(DESTDIR)$(LIBDIR)
@for src_dir in config kconfig patches scripts; do \ @for src_dir in config kconfig patches scripts; do \
echo " INST '$${src_dir}/'"; \ echo " INST '$${src_dir}/'"; \
tar cf - --exclude=.svn $${src_dir} |(cd "$(DESTDIR)$(LIBDIR)"; tar xf -); \ tar cf - --exclude=.svn --exclude='*.sh.in' $${src_dir} \
|(cd "$(DESTDIR)$(LIBDIR)"; tar xf -); \
done done
@chmod a+x $(DESTDIR)$(LIBDIR)/scripts/crosstool-NG.sh
@rm -f "$(DESTDIR)$(LIBDIR)/scripts/addToolVersion.sh" @rm -f "$(DESTDIR)$(LIBDIR)/scripts/addToolVersion.sh"
@echo " INST 'steps.mk'" @echo " INST 'steps.mk'"
@$(install) -m 644 steps.mk "$(DESTDIR)$(LIBDIR)/steps.mk" @$(install) -m 644 steps.mk "$(DESTDIR)$(LIBDIR)/steps.mk"