From 3e792dcf0aaff133abec80d689c26f52a80cd45e Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Fri, 10 Oct 2008 12:28:04 +0200 Subject: [PATCH] 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 --- src/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.11.0