From: Sebastian Harl Date: Fri, 10 Oct 2008 10:28:04 +0000 (+0200) Subject: src/Makefile.am: Use $mkinstalldirs instead of $(INSTALL) -D. X-Git-Tag: collectd-4.5.1~5 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=3e792dcf0aaff133abec80d689c26f52a80cd45e;p=collectd.git src/Makefile.am: Use $mkinstalldirs instead of $(INSTALL) -D. Some systems (e.g. Solaris 8) do not support the -D option. Signed-off-by: Sebastian Harl Signed-off-by: Florian Forster --- diff --git a/src/Makefile.am b/src/Makefile.am index f93c5065..1ffcc6f0 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -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;