summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBenoît Dejean <bdejean@src.gnome.org>2005-02-22 12:42:09 +0000
committerBenoît Dejean <bdejean@src.gnome.org>2005-02-22 12:42:09 +0000
commit16123b6fe9e4c0a34f59259934f0afcdce1d99c3 (patch)
tree12bc780550c5a0fb6892d1c1b623893612fd11ad /src
parent672da9122ec88021ea412409442f15f2aec2502b (diff)
downloadlibgtop-16123b6fe9e4c0a34f59259934f0afcdce1d99c3.tar.gz
Build and install libgtop2_daemon only if needed.
* src/Makefile.am: Build and install libgtop2_daemon only if needed.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am8
1 files changed, 7 insertions, 1 deletions
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