summaryrefslogtreecommitdiff
path: root/lib/am/java.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/java.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/java.am')
-rw-r--r--lib/am/java.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/am/java.am b/lib/am/java.am
index 8471eecb5..da7891bf9 100644
--- a/lib/am/java.am
+++ b/lib/am/java.am
@@ -1,5 +1,6 @@
## automake - create Makefile.in from Makefile.am
-## Copyright (C) 1998, 1999, 2001, 2003, 2004 Free Software Foundation, Inc.
+## Copyright (C) 1998, 1999, 2001, 2003, 2004, 2006 Free Software
+## Foundation, Inc.
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
@@ -47,7 +48,7 @@ am__installdirs += "$(DESTDIR)$(%NDIR%dir)"
?!EXEC?.PHONY install-data-am: install-%DIR%JAVA
install-%DIR%JAVA: class%DIR%.stamp
@$(NORMAL_INSTALL)
- test -z "$(%NDIR%dir)" || $(mkdir_p) "$(DESTDIR)$(%NDIR%dir)"
+ test -z "$(%NDIR%dir)" || $(MKDIR_P) "$(DESTDIR)$(%NDIR%dir)"
## A single .java file can be compiled into multiple .class files. So
## we just install all the .class files that got built into this
## directory. This is not optimal, but will have to do for now.