Code

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 6fd656220ad8b87f326c88587876a63882764a2a..f3f259b6379e5982bc59d22a8f21fd0b50662ab6 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)/;