Skip to content

Commit 59f4a76

Browse files
committed
Merge pull request #1656 from hpcraink/pr/make_manpage
In case, we do not build Fortran, Fortran 2008 or CXX, the regexp in …
2 parents e126d2c + d749cc0 commit 59f4a76

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

Makefile.ompi-rules

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ if ! MAN_PAGE_BUILD_USEMPIF08_BINDINGS
2020
endif
2121

2222
.1in.1:
23-
@ echo " BUILDING $@"
24-
@ $(top_srcdir)/ompi/mpi/man/make_manpage.pl \
23+
$(OMPI_V_GEN) $(top_srcdir)/ompi/mpi/man/make_manpage.pl \
2524
--package-name='@PACKAGE_NAME@' \
2625
--package-version='@PACKAGE_VERSION@' \
2726
--ompi-date='@OMPI_RELEASE_DATE@' \
@@ -31,8 +30,7 @@ endif
3130
--output=$@
3231

3332
.3in.3:
34-
@ echo " BUILDING $@"
35-
@ $(top_srcdir)/ompi/mpi/man/make_manpage.pl \
33+
$(OMPI_V_GEN) $(top_srcdir)/ompi/mpi/man/make_manpage.pl \
3634
--package-name='@PACKAGE_NAME@' \
3735
--package-version='@PACKAGE_VERSION@' \
3836
--ompi-date='@OMPI_RELEASE_DATE@' \
@@ -43,8 +41,7 @@ endif
4341
--output=$@
4442

4543
.7in.7:
46-
@ echo " BUILDING $@"
47-
@ $(top_srcdir)/ompi/mpi/man/make_manpage.pl \
44+
$(OMPI_V_GEN) $(top_srcdir)/ompi/mpi/man/make_manpage.pl \
4845
--package-name='@PACKAGE_NAME@' \
4946
--package-version='@PACKAGE_VERSION@' \
5047
--ompi-date='@OMPI_RELEASE_DATE@' \

ompi/mpi/man/make_manpage.pl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,15 @@
6262
$file =~ s/#ORTE_DATE#/$orte_date/g;
6363

6464
if ($cxx == 0) {
65-
$file =~ s/\n\.SH C\+\+ Syntax.+?fi\n/\n/s;
65+
$file =~ s/\n\.SH C\+\+ Syntax.+?\n\.SH/\n\.SH/s;
6666
}
6767

6868
if ($fortran == 0) {
69-
$file =~ s/\n\.SH Fortran Syntax.+?fi\n/\n/s;
69+
$file =~ s/\n\.SH Fortran Syntax.+?\n\.SH/\n\.SH/s;
7070
}
7171

7272
if ($f08 == 0) {
73-
$file =~ s/\n\.SH Fortran 2008 Syntax.+?fi\n/\n/s;
73+
$file =~ s/\n\.SH Fortran 2008 Syntax.+?\n\.SH/\n\.SH/s;
7474
}
7575

7676
open(FILE, ">$output") ||

ompi/mpiext/affinity/c/OMPI_Affinity_str.3in

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
.\" -*- nroff -*-
12
.\" Copyright 2007-2010 Oracle and/or its affiliates. All rights reserved.
23
.\" Copyright (c) 1996 Thinking Machines Corporation
34
.\" Copyright (c) 2010 Cisco Systems, Inc. All rights reserved.
5+
.\" $COPYRIGHT$
46
.TH OMPI_Affinity_str 3 "#OMPI_DATE#" "#PACKAGE_VERSION#" "#PACKAGE_NAME#"
57
.SH NAME
68
\fBOMPI_Affinity_str\fP \- Obtain prettyprint strings of processor affinity information for this process
@@ -20,6 +22,9 @@ int OMPI_Affinity_str(ompi_affinity_fmt_type_t \fIfmt_type\fP,
2022
.SH Fortran Syntax
2123
There is no Fortran binding for this function.
2224
.
25+
.SH Fortran 2008 Syntax
26+
There is no Fortran 2008 binding for this function.
27+
.
2328
.SH C++ Syntax
2429
There is no C++ binding for this function.
2530
.

0 commit comments

Comments
 (0)