From 70deffd549053796f008a90858e7f2bcbd044451 Mon Sep 17 00:00:00 2001 From: Igor Ivanov Date: Thu, 10 Sep 2015 13:04:26 +0300 Subject: [PATCH] oshmem: Do not install help files in case oshmem is off --- oshmem/runtime/Makefile.am | 3 ++- oshmem/shmem/Makefile.am | 2 ++ oshmem/tools/wrappers/Makefile.am | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) 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)"