Code

src/Makefile.am: Use $mkinstalldirs instead of $(INSTALL) -D.
authorSebastian Harl <sh@tokkee.org>
Fri, 10 Oct 2008 10:28:04 +0000 (12:28 +0200)
committerFlorian Forster <octo@huhu.verplant.org>
Fri, 10 Oct 2008 10:41:57 +0000 (12:41 +0200)
Some systems (e.g. Solaris 8) do not support the -D option.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
src/Makefile.am

index f93c5065f5c17c7e2474ee5d0a1c66f2d7004211..1ffcc6f0cde5a574143f3b4c1f20539effcf87af 100644 (file)
@@ -819,5 +819,6 @@ install-exec-hook:
                $(INSTALL) -m 0640 collectd.conf $(DESTDIR)$(sysconfdir)/collectd.conf; \
        fi; \
        cp -f $(srcdir)/types.db $(DESTDIR)$(pkglibdir)/;
-       $(INSTALL) -D -m 0644 $(srcdir)/postgresql_default.conf \
+       $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
+       $(INSTALL) -m 0644 $(srcdir)/postgresql_default.conf \
                $(DESTDIR)$(pkgdatadir)/postgresql_default.conf;