src/Makefile.am: When building outside the source tree, install will fail
authorEzra Peisach <epeisach@med-xtal.bu.edu>
Tue, 19 Jun 2007 06:10:10 +0000 (08:10 +0200)
committerFlorian Forster <octo@huhu.verplant.org>
Tue, 19 Jun 2007 06:10:10 +0000 (08:10 +0200)
Signed-off-by: Ezra Peisach <epeisach@med-xtal.bu.edu>
src/Makefile.am

index 6fd6562..f3f259b 100644 (file)
@@ -571,4 +571,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)/;