Module: ngircd.git Branch: master Commit: 90062111f7fd3be5941d94781470b391bebfccaa URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=90062...
Author: Alexander Barton alex@barton.de Date: Fri Jan 17 21:04:10 2014 +0100
Use $(MKDIR_P) instead of $(mkinstalldirs) in Makefile's
And test for "mkdir -p" using AC_PROG_MKDIR_P in "configure".
---
configure.ng | 1 + doc/Makefile.am | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/configure.ng b/configure.ng index aec1eb1..1e141c9 100644 --- a/configure.ng +++ b/configure.ng @@ -66,6 +66,7 @@ AC_PROG_AWK AC_PROG_INSTALL AC_PROG_LN_S AC_PROG_MAKE_SET +AC_PROG_MKDIR_P AC_PROG_RANLIB
# -- Compiler Features -- diff --git a/doc/Makefile.am b/doc/Makefile.am index 04f74b6..27942dd 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -54,11 +54,11 @@ maintainer-clean-local: all: $(generated_docs)
install-data-hook: $(static_docs) $(toplevel_docs) $(generated_docs) - $(mkinstalldirs) $(DESTDIR)$(sysconfdir) + $(MKDIR_P) -m 755 $(DESTDIR)$(sysconfdir) @if [ ! -f $(DESTDIR)$(sysconfdir)/ngircd.conf ]; then \ make install-config; \ fi - $(mkinstalldirs) $(DESTDIR)$(docdir) + $(MKDIR_P) -m 755 $(DESTDIR)$(docdir) for f in $(static_docs) $(toplevel_docs); do \ $(INSTALL) -m 644 -c $(srcdir)/$$f $(DESTDIR)$(docdir)/; \ done
ngircd-commits@lists.barton.de