From a62cd64db6c65637f2f2125222962696a7c7c5ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferenc=20W=C3=A1gner?= Date: Fri, 26 Jun 2015 09:00:16 +0200 Subject: makefiles: avoid bash == operator syntax, use = instead MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Commit e587b0677b705786a78f21bac1966621f70b2752 broke the build on systems where /bin/sh is Dash, for example. Origin patch by Ferenc Wágner changed later to avoid using shell call, so makefile add 'server' target when one of metad or polld daemon is requested. --- libdaemon/Makefile.in | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'libdaemon') diff --git a/libdaemon/Makefile.in b/libdaemon/Makefile.in index c0379a4c3..0a085db9f 100644 --- a/libdaemon/Makefile.in +++ b/libdaemon/Makefile.in @@ -1,5 +1,5 @@ # -# Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved. +# Copyright (C) 2004-2015 Red Hat, Inc. All rights reserved. # # This file is part of LVM2. # @@ -19,7 +19,10 @@ top_builddir = @top_builddir@ SUBDIRS += client -ifeq (yes, $(shell test @BUILD_LVMETAD@ == yes -o @BUILD_LVMPOLLD@ == yes && echo yes)) +ifeq (@BUILD_LVMETAD@,yes) + SUBDIRS += server +server: client +else ifeq (@BUILD_LVMPOLLD@,yes) SUBDIRS += server server: client endif -- cgit v1.2.1