summaryrefslogtreecommitdiff
path: root/lib/am/scripts.am
diff options
context:
space:
mode:
authorAlexandre Duret-Lutz <adl@gnu.org>2006-08-19 15:55:53 +0000
committerAlexandre Duret-Lutz <adl@gnu.org>2006-08-19 15:55:53 +0000
commitd5358968b3ce766396ba5de76eb42454f835b827 (patch)
tree340d2349cb93d80a269a2ba40ce2d3253367afa9 /lib/am/scripts.am
parentf5b38979101a2c2c7dfb1fe4732393dec41d3ed1 (diff)
downloadautomake-d5358968b3ce766396ba5de76eb42454f835b827.tar.gz
* Makefile.am (maintainer-check): Check for mkdir_p.
* automake.texi (Obsolete macros): Document AM_PROG_MKDIR_P. * lib/am/data.am, lib/am/distdir.am, lib/am/install.am, lib/am/java.am, lib/am/libs.am, lib/am/lisp.am, lib/am/ltlib.am, lib/am/mans.am, lib/am/progs.am, lib/am/python.am, lib/am/scripts.am, lib/am/texinfos.am: Use MKDIR_P instead of mkdir_p. * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Define mkdir_p using $MKDIR_P, not as '$(MKDIR_P)', otherwise it will break `Makefile.in's that use mkdir_p without defining MKDIR_P. * tests/distdir.test, tests/instman.test, tests/txinfo21.test: Adjust.
Diffstat (limited to 'lib/am/scripts.am')
-rw-r--r--lib/am/scripts.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/am/scripts.am b/lib/am/scripts.am
index 57356cf30..6d2c400eb 100644
--- a/lib/am/scripts.am
+++ b/lib/am/scripts.am
@@ -1,5 +1,5 @@
## automake - create Makefile.in from Makefile.am
-## Copyright (C) 1994, 1995, 1996, 1998, 1999, 2001, 2003, 2004
+## Copyright (C) 1994, 1995, 1996, 1998, 1999, 2001, 2003, 2004, 2006
## Free Software Foundation, Inc.
## This program is free software; you can redistribute it and/or modify
@@ -36,7 +36,7 @@ am__installdirs += "$(DESTDIR)$(%NDIR%dir)"
?!EXEC?.PHONY install-data-am: install-%DIR%SCRIPTS
install-%DIR%SCRIPTS: $(%DIR%_SCRIPTS)
@$(NORMAL_INSTALL)
- test -z "$(%NDIR%dir)" || $(mkdir_p) "$(DESTDIR)$(%NDIR%dir)"
+ test -z "$(%NDIR%dir)" || $(MKDIR_P) "$(DESTDIR)$(%NDIR%dir)"
?!BASE? @$(am__vpath_adj_setup) \
## Funny invocation because Makefile variable can be empty, leading to
## a syntax error in sh.