From 220ee3eb926ca6bfa175d9700ab56d14a554cea4 Mon Sep 17 00:00:00 2001 From: Brice Goglin Date: Wed, 20 Dec 2017 14:06:54 +0100 Subject: [PATCH] configure: make sure ./netloc is always distributed We manually override DIST_SUBDIRS for the embedding, hence we need to manually make sure netloc gets in there. Signed-off-by: Brice Goglin --- Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 3aa78ab251..1c8d3446b5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,4 +1,4 @@ -# Copyright © 2009-2016 Inria. All rights reserved. +# Copyright © 2009-2017 Inria. All rights reserved. # Copyright © 2009 Université Bordeaux # Copyright © 2009-2014 Cisco Systems, Inc. All rights reserved. # See COPYING in top-level directory. @@ -32,6 +32,9 @@ endif # Do not let automake automatically add the non-standalone dirs to the # distribution tarball if we're building in embedded mode. DIST_SUBDIRS = $(SUBDIRS) +if !BUILD_NETLOC +DIST_SUBDIRS += netloc +endif # Only install the pkg file if we're building in standalone mode (and not on Windows) if HWLOC_BUILD_STANDALONE