From 16123b6fe9e4c0a34f59259934f0afcdce1d99c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Dejean?= Date: Tue, 22 Feb 2005 12:42:09 +0000 Subject: [PATCH] Build and install libgtop2_daemon only if needed. * src/Makefile.am: Build and install libgtop2_daemon only if needed. --- ChangeLog | 4 ++++ src/Makefile.am | 8 +++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index fe443d7f..ce7ee708 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2005-02-22 Benoît Dejean + + * src/Makefile.am: Build and install libgtop2_daemon only if needed. + 2005-02-21 Benoît Dejean * lib/Makefile.am: don't export private symbols. diff --git a/src/Makefile.am b/src/Makefile.am index 46edd9c2..a4ccf09d 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -4,7 +4,13 @@ else inodedb_SUBDIRS = endif -SUBDIRS = daemon $(inodedb_SUBDIRS) +if NEED_LIBGTOP +daemon_SUBDIRS = daemon +else +daemon_SUBDIRS = +endif + +SUBDIRS = $(daemon_SUBDIRS) $(inodedb_SUBDIRS) DIST_SUBDIRS = daemon inodedb