797ec531aa
* Make the creation of the build dir for the man pages a bit more robust (thanks to suggestions from Ralf W.). * Only distribute the .Xin files, not the .X man pages themselves. * Make the .X files depend on opal_config.h so that if you re-run configure and change opal_config.h (e.g., a new version), the man pages should get rebuilt. * Man pages are now cleaned with "distclean", not "maintainer-clean". * Fix a typo in opal_crs.7in. * Udpate make_dist_tarball to update "date" in the VERSION file. * Make make_dist_tarball a bit friendlier to hg checkouts. This commit was SVN r19219.
65 строки
2.4 KiB
Makefile
65 строки
2.4 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 (c) 2008 Cisco Systems, Inc. All rights reserved.
|
|
# $COPYRIGHT$
|
|
#
|
|
# Additional copyrights may follow
|
|
#
|
|
# $HEADER$
|
|
#
|
|
|
|
man_pages = mpirun.1 mpiexec.1 ompi-ps.1 ompi-clean.1
|
|
|
|
if OMPI_INSTALL_BINARIES
|
|
if !ORTE_DISABLE_FULL_SUPPORT
|
|
|
|
nodist_man_MANS = $(man_pages)
|
|
|
|
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)
|
|
|
|
endif # !ORTE_DISABLE_FULL_SUPPORT
|
|
endif # OMPI_INSTALL_BINARIES
|
|
|
|
$(top_builddir)/orte/tools/orterun/orterun.1:
|
|
(cd $(top_builddir)/orte/tools/orterun && $(MAKE) $(AM_MAKEFLAGS) orterun.1)
|
|
|
|
mpirun.1: $(top_builddir)/orte/tools/orterun/orterun.1
|
|
cp -f $(top_builddir)/orte/tools/orterun/orterun.1 mpirun.1
|
|
|
|
mpiexec.1: $(top_builddir)/orte/tools/orterun/orterun.1
|
|
cp -f $(top_builddir)/orte/tools/orterun/orterun.1 mpiexec.1
|
|
|
|
$(top_builddir)/orte/tools/orte-ps/orte-ps.1:
|
|
(cd $(top_builddir)/orte/tools/orte-ps && $(MAKE) $(AM_MAKEFLAGS) orte-ps.1)
|
|
|
|
ompi-ps.1: $(top_builddir)/orte/tools/orte-ps/orte-ps.1
|
|
cp -f $(top_builddir)/orte/tools/orte-ps/orte-ps.1 ompi-ps.1
|
|
|
|
$(top_builddir)/orte/tools/orte-clean/orte-clean.1:
|
|
(cd $(top_builddir)/orte/tools/orte-clean && $(MAKE) $(AM_MAKEFLAGS) orte-clean.1)
|
|
|
|
ompi-clean.1: $(top_builddir)/orte/tools/orte-clean/orte-clean.1
|
|
cp -f $(top_builddir)/orte/tools/orte-clean/orte-clean.1 ompi-clean.1
|
|
|
|
distclean-local:
|
|
rm -f $(man_pages)
|