Skip to content
This repository was archived by the owner on Sep 30, 2022. It is now read-only.

Commit dc82f2a

Browse files
committed
oshmem: Do not install help files in case oshmem is off
1 parent fc63f5f commit dc82f2a

File tree

3 files changed

+20
-17
lines changed

3 files changed

+20
-17
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_ompidata_DATA += runtime/help-shmem-runtime.txt
13-
14+
endif
1415

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

oshmem/shmem/Makefile.am

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
1-
# Copyright (c) 2013-2015 Mellanox Technologies, Inc.
2-
# All rights reserved.
3-
# $COPYRIGHT$
4-
#
5-
# Additional copyrights may follow
6-
#
7-
# $HEADER$
8-
#
9-
10-
EXTRA_DIST =
11-
12-
headers += shmem/shmem_api_logger.h \
13-
shmem/shmem_lock.h
14-
15-
dist_ompidata_DATA += shmem/help-shmem-api.txt
1+
# Copyright (c) 2013-2015 Mellanox Technologies, Inc.
2+
# All rights reserved.
3+
# $COPYRIGHT$
4+
#
5+
# Additional copyrights may follow
6+
#
7+
# $HEADER$
8+
#
9+
10+
EXTRA_DIST =
11+
12+
headers += shmem/shmem_api_logger.h \
13+
shmem/shmem_lock.h
14+
15+
if PROJECT_OSHMEM
16+
dist_ompidata_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_ompidata_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)