1
1

Use MKDIR_P instead of mkdir_p in Makefiles, as MKDIR_P is the only one

defined in recent versions of AC/AM.

This commit was SVN r26625.
Этот коммит содержится в:
Brian Barrett 2012-06-21 16:52:37 +00:00
родитель 1e1c755fbc
Коммит 9af72072a3
9 изменённых файлов: 11 добавлений и 11 удалений

Просмотреть файл

@ -189,7 +189,7 @@ dir_stamp = $(top_builddir)/$(subdir)/mpi/man/man3/.dir-stamp
$(nodist_man_MANS): $(dir_stamp) $(top_builddir)/opal/include/opal_config.h
$(dir_stamp):
$(mkdir_p) `dirname $@`
$(MKDIR_P) `dirname $@`
touch "$@"
# Remove the generated man pages

Просмотреть файл

@ -26,7 +26,7 @@ dist_pkgdata_DATA = \
mpifort-vt-wrapper-data.txt
install-exec-hook-always:
test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
(cd $(DESTDIR)$(bindir); rm -f mpicc-vt$(EXEEXT); $(LN_S) opal_wrapper mpicc-vt)
(cd $(DESTDIR)$(bindir); rm -f mpic++-vt$(EXEEXT); $(LN_S) opal_wrapper mpic++-vt)
(cd $(DESTDIR)$(bindir); rm -f mpicxx-vt$(EXEEXT); $(LN_S) opal_wrapper mpicxx-vt)

Просмотреть файл

@ -29,7 +29,7 @@ EXTRA_DIST = $(ompi_config_files)
# details why the mkdir is in install-data-local.
install-data-local:
$(mkdir_p) $(DESTDIR)$(sysconfdir)
$(MKDIR_P) $(DESTDIR)$(sysconfdir)
@ p="$(ompi_config_files)"; \
for file in $$p; do \
if test -f $(DESTDIR)$(sysconfdir)/$$file; then \

Просмотреть файл

@ -29,7 +29,7 @@ bin_SCRIPTS = ompi_wrapper_script
CLEANFILES += $(bin_SCRIPTS)
install-exec-hook-always:
test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
(cp mpijavac.pl $(DESTDIR)$(bindir))
(cd $(DESTDIR)$(bindir); rm -f mpicc; $(LN_S) ompi_wrapper_script mpicc)
(cd $(DESTDIR)$(bindir); rm -f mpic++; $(LN_S) ompi_wrapper_script mpic++)
@ -73,7 +73,7 @@ nodist_pkgdata_DATA = \
mpifort-wrapper-data.txt
install-exec-hook-always:
test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
(cp mpijavac.pl $(DESTDIR)$(bindir))
(cd $(DESTDIR)$(bindir); rm -f mpicc$(EXEEXT); $(LN_S) opal_wrapper mpicc)
(cd $(DESTDIR)$(bindir); rm -f mpic++$(EXEEXT); $(LN_S) opal_wrapper mpic++)

Просмотреть файл

@ -29,7 +29,7 @@ EXTRA_DIST = $(opal_config_files)
# details why the mkdir is in install-data-local.
install-data-local:
$(mkdir_p) $(DESTDIR)$(sysconfdir)
$(MKDIR_P) $(DESTDIR)$(sysconfdir)
@ p="$(opal_config_files)"; \
if test "$(opal_file_from_platform)" = "yes"; then \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \

Просмотреть файл

@ -29,7 +29,7 @@ EXTRA_DIST = $(orte_config_files)
# details why the mkdir is in install-data-local.
install-data-local:
$(mkdir_p) $(DESTDIR)$(sysconfdir)
$(MKDIR_P) $(DESTDIR)$(sysconfdir)
@ p="$(orte_config_files)"; \
for file in $$p; do \
if test -f $(DESTDIR)$(sysconfdir)/$$file; then \

Просмотреть файл

@ -54,7 +54,7 @@ HDFSFileFinder.class: HDFSFileFinder.java
$(JAVAC) -d . -classpath $(hadoop_jars) $(top_srcdir)/orte/tools/allocators/HDFSFileFinder.java
install-exec-hook:
test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
(cp hdfsalloc.pl $(DESTDIR)$(bindir))
(cd $(DESTDIR)$(bindir); chmod +x hdfsalloc.pl; rm -f hdfsalloc; $(LN_S) hdfsalloc.pl hdfsalloc)

Просмотреть файл

@ -40,7 +40,7 @@ mr+: mrplus.c
nodist_man_MANS = $(man_pages)
install-exec-hook:
test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
(cd $(DESTDIR)$(bindir); rm -f mr+; $(LN_S) mrplus mr+)

Просмотреть файл

@ -32,7 +32,7 @@ nodist_pkgdata_DATA = \
if OPAL_WANT_SCRIPT_WRAPPER_COMPILERS
install-exec-hook-always:
test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
(cd $(DESTDIR)$(bindir); rm -f ortecc; $(LN_S) orte_wrapper_script ortecc)
(cd $(DESTDIR)$(bindir); rm -f ortec++; $(LN_S) orte_wrapper_script ortec++)
@ -59,7 +59,7 @@ pkgconfig_DATA = orte.pc
#man_MANS = $(man_pages)
install-exec-hook-always:
test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
(cd $(DESTDIR)$(bindir); rm -f ortecc$(EXEEXT); $(LN_S) opal_wrapper ortecc)
(cd $(DESTDIR)$(bindir); rm -f ortec++$(EXEEXT); $(LN_S) opal_wrapper ortec++)