[collectd] [PATCH] src/Makefile.am: Use $mkinstalldirs instead of $(INSTALL) -D.
Sebastian Harl
sh at tokkee.org
Fri Oct 10 12:28:04 CEST 2008
Some systems (e.g. Solaris 8) do not support the -D option.
Signed-off-by: Sebastian Harl <sh at tokkee.org>
---
src/Makefile.am | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index b9b7ab8..82ce17d 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -839,5 +839,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;
--
1.5.4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20081010/7742fd57/attachment.pgp
More information about the collectd
mailing list