Makefile.in: Use mkinstalldirs.
gcc/ 2006-07-27 Carlos O'Donell <carlos@codesourcery.com> * Makefile.in: Use mkinstalldirs. From-SVN: r115781
This commit is contained in:
parent
faa8884386
commit
ab7efd9148
@ -1,3 +1,7 @@
|
||||
2006-07-27 Carlos O'Donell <carlos@codesourcery.com>
|
||||
|
||||
* Makefile.in: Use mkinstalldirs.
|
||||
|
||||
2006-07-27 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR driver/28437
|
||||
|
@ -3753,17 +3753,16 @@ $(DESTDIR)$(infodir)/%.info: doc/%.info installdirs
|
||||
else true; fi;
|
||||
|
||||
html__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
|
||||
html__mkdir_p = mkdir -p --
|
||||
|
||||
install-html: $(HTMLS_BUILD)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(htmldir)" || $(html__mkdir_p) "$(DESTDIR)$(htmldir)"
|
||||
test -z "$(htmldir)" || $(mkinstalldirs) "$(DESTDIR)$(htmldir)"
|
||||
@list='$(HTMLS_INSTALL)'; for p in $$list; do \
|
||||
if test -f "$$p" || test -d "$$p"; then d=""; else d="$(srcdir)/"; fi; \
|
||||
f=$(html__strip_dir) \
|
||||
if test -d "$$d$$p"; then \
|
||||
echo " $(html__mkdir_p) '$(DESTDIR)$(htmldir)/$$f'"; \
|
||||
$(html__mkdir_p) "$(DESTDIR)$(htmldir)/$$f" || exit 1; \
|
||||
echo " $(mkinstalldirs) '$(DESTDIR)$(htmldir)/$$f'"; \
|
||||
$(mkinstalldirs) "$(DESTDIR)$(htmldir)/$$f" || exit 1; \
|
||||
echo " $(INSTALL_DATA) '$$d$$p'/* '$(DESTDIR)$(htmldir)/$$f'"; \
|
||||
$(INSTALL_DATA) "$$d$$p"/* "$(DESTDIR)$(htmldir)/$$f"; \
|
||||
else \
|
||||
|
Loading…
Reference in New Issue
Block a user