summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--src/Makefile.am8
2 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index fe443d7f..ce7ee708 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-02-22 Benoît Dejean <TazForEver@dlfp.org>
+
+ * src/Makefile.am: Build and install libgtop2_daemon only if needed.
+
2005-02-21 Benoît Dejean <TazForEver@dlfp.org>
* 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