Skip to content

Conversation

@hpcraink
Copy link
Member

@hpcraink hpcraink commented May 8, 2016

…make_manpage.pl will delete all lines up to the next ".fi" -- which for functions that do not implement the corresponding interface "as code" will have all text eliminated. Change regexp to delete this language-specific content up to the next newline+section header ".SH"

Also in case of make V=1, we'd like to see the command line, too (see Makefile.ompi-rules)

Amend OMPI_Affinity_str according to the other man-pages definitions.

@hpcraink
Copy link
Member Author

@ggouaillardet Could You please have a look at the changes in make_manpage.pl? Thanks.

@ggouaillardet
Copy link
Contributor

@hpcraink i am fine with this PR, thanks for filling it.

out of curiosity, did you run into the trouble you fixed (e.g. all text deleted) ?
at first glance, the root cause seems there is a missing .fi in the man page ?

@hpcraink
Copy link
Member Author

@ggouaillardet Thanks!
Well, some man-pages, that did not define a Fortran (Or C++ Interface) were lacking any content when shown... Took me a while to figure out, that it was the parsing through the Script, and that it's the code section missing; Now I think the \n.SH assumption is fine.

.1in.1:
@ echo " BUILDING $@"
@ $(top_srcdir)/ompi/mpi/man/make_manpage.pl \
$(AM_V_CC) $(top_srcdir)/ompi/mpi/man/make_manpage.pl \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be $(OMPI_V_GEN). Shouldn't the echo statement be removed, too?

hpcraink added 2 commits May 17, 2016 14:21
…make_manpage.pl will delete all

lines up to the next ".fi" -- which for functions that do not implement the corresponding interface
as code will have all eliminated.
Change to delete the man page's content up to the next section header ".SH"

Also in case of make V=1, we'd like to see the command line, too.

Amend OMPI_Affinity_str according to the other man-pages definitions.
@ibm-ompi
Copy link

Test passed.

@jsquyres
Copy link
Member

bot:retest

@jsquyres jsquyres merged commit 59f4a76 into open-mpi:master May 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants