Skip to content

Commit df87b87

Browse files
committed
oshmem: Do not install help files in case oshmem is off
1 parent 3f15501 commit df87b87

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

oshmem/runtime/Makefile.am

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@
99

1010
# This makefile.am does not stand on its own - it is included from oshmem/Makefile.am
1111

12+
if PROJECT_OSHMEM
1213
dist_oshmemdata_DATA += runtime/help-shmem-runtime.txt
13-
14+
endif
1415

1516
headers += \
1617
runtime/runtime.h \

oshmem/shmem/Makefile.am

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,6 @@ EXTRA_DIST =
1212
headers += shmem/shmem_api_logger.h \
1313
shmem/shmem_lock.h
1414

15+
if PROJECT_OSHMEM
1516
dist_oshmemdata_DATA += shmem/help-shmem-api.txt
17+
endif

oshmem/tools/wrappers/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
#
1111
# $HEADER$
1212

13+
if PROJECT_OSHMEM
1314
nodist_oshmemdata_DATA = \
1415
shmemcc-wrapper-data.txt \
1516
shmemfort-wrapper-data.txt
1617

17-
if PROJECT_OSHMEM
1818
# Only install / uninstall if we're building oshmem
1919
install-exec-hook:
2020
test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"

0 commit comments

Comments
 (0)