Skip to content
Snippets Groups Projects
Commit 6f87a45d authored by Christian Engwer's avatar Christian Engwer
Browse files

Use AC_PROG_MKDIR_P and MKDIR_P

AM_PROG_MKDIR_P is deprecated; see `Obsolete Macros' in the automake manual

Kudos to Elias Pipping

[[Imported from SVN: r7029]]
parent 96346fa5
No related branches found
No related tags found
No related merge requests found
......@@ -51,7 +51,7 @@ doc-clean-documentation:
install-documentation: $(DOCFILES) install-documentation-local
@$(NORMAL_INSTALL)
test -z "$(docdir)" || $(mkdir_p) "$(DESTDIR)$(docdir)"
test -z "$(docdir)" || $(MKDIR_P) "$(DESTDIR)$(docdir)"
@list='$(DOCFILES) $(DOCFILES_EXTRA)'; test -n "$(docdir)" || list=; \
for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
......
......@@ -14,8 +14,8 @@ AC_DEFUN([DUNE_COMMON_CHECKS],
AC_REQUIRE([AC_PROG_AWK])
AC_REQUIRE([ACX_LAPACK])
AC_REQUIRE([AC_FC_WRAPPERS])
# defined $(mkdir_p), which is required during install
AC_REQUIRE([AM_PROG_MKDIR_P])
# defined $(MKDIR_P), which is required during install
AC_REQUIRE([AC_PROG_MKDIR_P])
AC_REQUIRE([DUNE_CHECK_COMPILER])
AC_REQUIRE([GXX0X])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment