1
1
openmpi/ompi/tools/ortetools/Makefile.am
Josh Hursey 2edf1511fd Closes ticket #173 : Split name linking up for orte/ompi shared tools.
This moves the logic to create the symbolic links for:
 - mpirun
 - mpiexec
 - ompi-ps
 - ompi-clean
and their respective man pages to the ompi level from
the orte layer.

This is a bit pedantic, but orte shouldn't be doing the
work of ompi since that is a bit of an abstraction break.

Note: need to autogen.sh to get this. Sorry :(

This commit was SVN r10602.
2006-06-30 22:01:56 +00:00

52 строки
1.9 KiB
Makefile

#
# Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
# University Research and Technology
# Corporation. All rights reserved.
# Copyright (c) 2004-2005 The University of Tennessee and The University
# of Tennessee Research Foundation. All rights
# reserved.
# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
# University of Stuttgart. All rights reserved.
# Copyright (c) 2004-2005 The Regents of the University of California.
# All rights reserved.
# $COPYRIGHT$
#
# Additional copyrights may follow
#
# $HEADER$
#
dist_pkgdata_DATA =
man_MANS = mpirun.1 \
mpiexec.1 \
ompi-ps.1 \
ompi-clean.1
install-exec-hook:
(cd $(DESTDIR)$(bindir); rm -f mpirun$(EXEEXT); $(LN_S) orterun$(EXEEXT) mpirun$(EXEEXT))
(cd $(DESTDIR)$(bindir); rm -f mpiexec$(EXEEXT); $(LN_S) orterun$(EXEEXT) mpiexec$(EXEEXT))
(cd $(DESTDIR)$(bindir); rm -f ompi-ps$(EXEEXT); $(LN_S) orte-ps$(EXEEXT) ompi-ps$(EXEEXT))
(cd $(DESTDIR)$(bindir); rm -f ompi-clean$(EXEEXT); $(LN_S) orte-clean$(EXEEXT) ompi-clean$(EXEEXT))
uninstall-local:
rm -f $(DESTDIR)$(bindir)/mpirun$(EXEEXT) \
$(DESTDIR)$(bindir)/mpiexec$(EXEEXT) \
$(DESTDIR)$(bindir)/ompi-ps$(EXEEXT) \
$(DESTDIR)$(bindir)/ompi-clean$(EXEEXT)
mpirun.1: $(top_srcdir)/orte/tools/orterun/orterun.1
cp -f $(top_srcdir)/orte/tools/orterun/orterun.1 mpirun.1
mpiexec.1: $(top_srcdir)/orte/tools/orterun/orterun.1
cp -f $(top_srcdir)/orte/tools/orterun/orterun.1 mpiexec.1
ompi-ps.1: $(top_srcdir)/orte/tools/orte-ps/orte-ps.1
cp -f $(top_srcdir)/orte/tools/orte-ps/orte-ps.1 ompi-ps.1
ompi-clean.1: $(top_srcdir)/orte/tools/orte-clean/orte-clean.1
cp -f $(top_srcdir)/orte/tools/orte-clean/orte-clean.1 ompi-clean.1
distclean-local:
rm -f mpirun.1 mpiexec.1 ompi-ps.1 ompi-clean.1