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

Commit bb1c4f3

Browse files
authored
Merge pull request #1259 from jsquyres/pr/v2.0.0/only-show-common-symbols-if-git
Makefile.am: only check for common symbols on dev builds
2 parents 5f5ba94 + f4b243b commit bb1c4f3

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

Makefile.am

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# University of Stuttgart. All rights reserved.
1010
# Copyright (c) 2004-2005 The Regents of the University of California.
1111
# All rights reserved.
12-
# Copyright (c) 2006-2015 Cisco Systems, Inc. All rights reserved.
12+
# Copyright (c) 2006-2016 Cisco Systems, Inc. All rights reserved.
1313
# Copyright (c) 2012-2015 Los Alamos National Security, Inc. All rights reserved.
1414
# Copyright (c) 2014 Intel, Inc. All rights reserved.
1515
# $COPYRIGHT$
@@ -30,10 +30,12 @@ dist-hook:
3030
# Check for common symbols. Use a "-hook" to increase the odds that a
3131
# developer will see it at the end of their installation process.
3232
install-exec-hook:
33-
-@$(top_srcdir)/config/find_common_syms \
34-
--brief \
35-
--top_builddir=$(top_builddir) \
36-
--top_srcdir=$(top_srcdir) \
37-
--objext=$(OBJEXT)
33+
-@if test -d "$(top_srcdir)/.git"; then \
34+
$(top_srcdir)/config/find_common_syms \
35+
--brief \
36+
--top_builddir=$(top_builddir) \
37+
--top_srcdir=$(top_srcdir) \
38+
--objext=$(OBJEXT); \
39+
fi
3840

3941
ACLOCAL_AMFLAGS = -I config

0 commit comments

Comments
 (0)