[collectd] [PATCH] When building outside the source tree, install will fail as src/Makefile.am

epeisach at med-xtal.bu.edu epeisach at med-xtal.bu.edu
Tue Jun 19 01:39:36 CEST 2007


From: Ezra Peisach <epeisach at gambit.bumc.bu.edu>

Signed-off-by: Ezra Peisach <epeisach at med-xtal.bu.edu>
---
 src/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 31b11ab..2459bcf 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -597,4 +597,4 @@ install-exec-hook:
 	else \
 		$(INSTALL) -m 0640 collectd.conf $(DESTDIR)$(sysconfdir)/collectd.conf; \
 	fi; \
-	cp -f types.db $(DESTDIR)$(pkglibdir)/;
+	cp -f $(srcdir)/types.db $(DESTDIR)$(pkglibdir)/;
-- 
1.5.2.2




More information about the collectd mailing list