summaryrefslogtreecommitdiff
path: root/lib/am/ltlib.am
diff options
context:
space:
mode:
authorAlexandre Duret-Lutz <adl@gnu.org>2003-11-10 20:55:33 +0000
committerAlexandre Duret-Lutz <adl@gnu.org>2003-11-10 20:55:33 +0000
commit2a8e1b17f3bcaebd8dc6fb2646b2c7b5398a0654 (patch)
tree7c1473889ee9325977439ab3408aedd5213c4be2 /lib/am/ltlib.am
parent26bc2d1681793f26e03f78ab33e10fe1115f03bc (diff)
downloadautomake-2a8e1b17f3bcaebd8dc6fb2646b2c7b5398a0654.tar.gz
* automake.in (handle_configure): Distribute and define mkinstalldirs
only if it is already present in the package. (scan_autoconf_files): Do not require mkinstalldirs. (require_build_directory): Use $(mkdir_p), not $(mkinstalldirs). * 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/mans.am, lib/am/progs.am, lib/am/python.am, lib/am/scripts.am, lib/am/texinfos.am: Use $(mkdir_p) instead of $(mkinstalldirs). * m4/mkdirp.m4: New file. * m4/Makefile.am (dist_m4data_DATA): Add mkdirp.m4. * m4/init.m4 (AM_INIT_AUTOMAKE): Call AM_PROG_MKDIR_P. * tests/Makefile.am (TESTS): Remove insh.test. * tests/insh.test: Delete. * tests/defs.in, tests/instsh.test: Do not install mkinstalldirs. * tests/auxdir.test: Install mkinstalldirs. * tests/distdir.test, tests/instman.test, tests/pr2.test: Use $(mkdir_p), not $(mkinstalldirs). * tests/empty.test: Run configure, do not substitute things by hand. * doc/automake.texi (Optional) <AC_CONFIG_FILES>: Take install-sh as an example, not mkinstalldirs. (Auxiliary Programs) <mkinstalldirs>: Update.
Diffstat (limited to 'lib/am/ltlib.am')
-rw-r--r--lib/am/ltlib.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/am/ltlib.am b/lib/am/ltlib.am
index 2bd7e29cf..b9e0a03a4 100644
--- a/lib/am/ltlib.am
+++ b/lib/am/ltlib.am
@@ -29,7 +29,7 @@ am__installdirs += $(DESTDIR)$(%NDIR%dir)
?!EXEC?.PHONY install-data-am: install-%DIR%LTLIBRARIES
install-%DIR%LTLIBRARIES: $(%DIR%_LTLIBRARIES)
@$(NORMAL_INSTALL)
- $(mkinstalldirs) $(DESTDIR)$(%NDIR%dir)
+ $(mkdir_p) $(DESTDIR)$(%NDIR%dir)
## Funny invocation because Makefile variable can be empty, leading to
## a syntax error in sh.
@list='$(%DIR%_LTLIBRARIES)'; for p in $$list; do \