Skip to content

Commit

Permalink
Optional Manpages
Browse files Browse the repository at this point in the history
  • Loading branch information
wrrobin authored and David Ozog committed Sep 18, 2023
1 parent fc76c0b commit 096c5cd
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,9 @@ jobs:
- config_name: Lengthy tests
sos_config: --enable-lengthy-tests --enable-pmi-simple
libfabric_version: v1.13.x

- config_name: Manpages
sos_config: --enable-manpages
libfabric_version: v1.13.x

name: OFI ${{ matrix.libfabric_version }} (${{ matrix.config_name }})

Expand Down
13 changes: 10 additions & 3 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,16 @@

ACLOCAL_AMFLAGS = -I config

EXTRA_DIST = sandia-openshmem.spec autogen.sh pmi-simple man
dist_doc_DATA = README NEWS LICENSE
EXTRA_DIST = sandia-openshmem.spec autogen.sh pmi-simple

if ENABLE_MANPAGES
EXTRA_DIST += man
endif

SUBDIRS = bindings man mpp pmi-simple src test
dist_doc_DATA = README NEWS LICENSE

SUBDIRS = bindings mpp pmi-simple src test

if ENABLE_MANPAGES
SUBDIRS += man
endif
4 changes: 4 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,10 @@ AC_ARG_ENABLE([shr-atomics],
AS_IF([test "$enable_shr_atomics" = "yes"],
[AC_DEFINE([USE_SHR_ATOMICS], [1], [If defined, the shared memory layer will perform processor atomics.])])

AC_ARG_ENABLE([manpages],
[AC_HELP_STRING([--enable-manpages],
[Include man pages in the installation (default:disabled)])])
AM_CONDITIONAL([ENABLE_MANPAGES], [test "$enable_manpages" = "yes"])

PKG_INSTALLDIR()

Expand Down

0 comments on commit 096c5cd

Please sign in to comment.