diff --git a/oshmem/runtime/Makefile.am b/oshmem/runtime/Makefile.am index dbeff26054..301b1e01ae 100644 --- a/oshmem/runtime/Makefile.am +++ b/oshmem/runtime/Makefile.am @@ -9,8 +9,9 @@ # This makefile.am does not stand on its own - it is included from oshmem/Makefile.am +if PROJECT_OSHMEM dist_oshmemdata_DATA += runtime/help-shmem-runtime.txt - +endif headers += \ runtime/runtime.h \ diff --git a/oshmem/shmem/Makefile.am b/oshmem/shmem/Makefile.am index 14d9e4d9ff..bf21979064 100644 --- a/oshmem/shmem/Makefile.am +++ b/oshmem/shmem/Makefile.am @@ -12,4 +12,6 @@ EXTRA_DIST = headers += shmem/shmem_api_logger.h \ shmem/shmem_lock.h +if PROJECT_OSHMEM dist_oshmemdata_DATA += shmem/help-shmem-api.txt +endif diff --git a/oshmem/tools/wrappers/Makefile.am b/oshmem/tools/wrappers/Makefile.am index 6399483afd..0f1da6a845 100644 --- a/oshmem/tools/wrappers/Makefile.am +++ b/oshmem/tools/wrappers/Makefile.am @@ -10,11 +10,11 @@ # # $HEADER$ +if PROJECT_OSHMEM nodist_oshmemdata_DATA = \ shmemcc-wrapper-data.txt \ shmemfort-wrapper-data.txt -if PROJECT_OSHMEM # Only install / uninstall if we're building oshmem install-exec-hook: test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"