summaryrefslogtreecommitdiff
path: root/m4/mkdirp.m4
Commit message (Collapse)AuthorAgeFilesLines
* maint: Update copyright years to 2018Mathieu Lirzin2018-01-041-1/+1
| | | | This update has been made with 'make update-copyright'.
* maint: Update copyright years to 2017.Mathieu Lirzin2017-03-021-1/+1
| | | | This update has been made with 'make update-copyright'.
* maint: update copyright years to 2015 (branch 'micro')Stefano Lattarini2015-01-051-1/+1
| | | | Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
* maint: update copyright yearsStefano Lattarini2014-04-211-1/+1
| | | | | | We've been in 2014 already for few months now... Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
* maint: describe new versioning and branching scheme, and adjust to itStefano Lattarini2013-02-171-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See discussion about automake bug#13578 for more details and background. Basically, for the versioning scheme: - micro versions only for bug and regression fixing; - minor versions for new backward-compatible features, and new non-fatal deprecations; - major versions for backward-incompatibilities, complex new features, and major refactoring. And for the git branching scheme: + branch 'next' is for the upcoming major version; + branch 'master' is now for the upcoming minor version; + branch 'maint' is for the upcoming micro (bug-fixing) version; + the merging hierarchy is: 'maint' -> 'master' -> 'next'. * HACKING (Automake versioning and compatibility scheme): New. (Working with git): Adjust. * NEWS: Update and fix. * aclocal.in: Adjust some "FIXME" messages. * automake.in: Likewise. * m4/mkdirp.m4: Likewise. * t/aclocal-acdir.sh: Likewise. * t/aclocal-macrodir.tap: Likewise. * t/aclocal-macrodirs.tap: Likewise. * lib/Automake/Options.pm: Likewise. * m4/internal/ac-config-macro-dirs.m4: Likewise. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
* maint: update copyright year for 2013 (in branch maint)Stefano Lattarini2012-12-311-1/+1
| | | | Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
* compat: reinstate AM_PROG_MKDIR_P, for gettextJim Meyering2012-10-261-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not remove AM_PROG_MKDIR_P just yet. gettext (latest from git) still AC_REQUIRE's AM_PROG_MKDIR_P via its intl.m4 and po.m4 files, which are pulled into *many* projects. When I try to build one of those projects (coreutils) using the latest from automake.git/master, I see this failure: $ aclocal -I m4 configure.ac:477: warning: AM_PROG_MKDIR_P is m4_require'd \ but not m4_defun'd m4/po.m4:23: AM_PO_SUBDIRS is expanded from... m4/gettext.m4:57: AM_GNU_GETTEXT is expanded from... configure.ac:477: the top level That is because AM_PROG_MKDIR_P was removed (via commit v1.12-20-g8a1c64f) in preparation for the next release of automake. * NEWS: Remove the paragraph that announced the removal of AM_PROG_MKDIR_P. * Makefile.am (dist_automake_ac_DATA): Add m4/mkdirp.m4. * m4/mkdirp.m4: Re-add file. * t/mkdirp-deprecation.sh: Likewise. * t/list-of-tests.mk: Add it. * automake.in: Restore removed code, and adjust comments, s/1.13/1.14/ to reflect new plan for removal. * doc/automake.texi (Obsolete Macros): Restore the section, but now with only one entry: the one for AM_PROG_MKDIR_P.
* AM_PROG_MKDIR_P: remove as obsoleteStefano Lattarini2012-04-281-33/+0
| | | | | | | | | | | | | | | | | | | | | | Support for the obsolescent 'AM_PROG_MKDIR_P' m4 macro (and its output variable '$(mkdir_p)') has in the documentation and with runtime warning since Automake 1.12.1. It's now time to remove it. * automake.in (scan_autoconf_traces): Remove special handling of 'AM_PROG_MKDIR_P'. * m4/mkdirp.m4: Delete. * Makefile.am (dist_automake_ac_DATA): Remove it. * t/mkdirp-deprecation.sh: Delete. * t/list-of-tests.mk: Remove it. * doc/automake.texi: Remove references to the 'AM_MKDIR_P' m4 macro and the '$(mkdir_p)' output variable. * t/gettext-macros.sh: Ensure the gettext-requiring tests will still see the now-removed 'AM_PROG_MKDIR_P' macro as an alias for the 'AC_PROG_MKDIR_P' macro, since even recent versions of gettext uses 'AM_PROG_MKDIR_P' in their '.m4' files. * NEWS: Update. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
* AM_PROG_MKDIR_P: deprecate, to be removed in Automake 1.13Stefano Lattarini2012-04-281-1/+6
| | | | | | | | | | | | | | | | | | | | | | | Support for the obsolescent 'AM_PROG_MKDIR_P' macro (and its output variable '$(mkdir_p)') has already been deprecated in the documentation. It's now time to make its use actively emit warnings in the 'obsolete' category as well. * automake.in (scan_autoconf_traces): Warn about 'AM_PROG_MKDIR_P' obsolescent if that macro is seen. * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Warn about its own obsolescence. * m4/init.m4: Require 'AC_PROG_MKDIR_P', not 'AM_PROG_MKDIR_P'. * t/mkdirp-deprecation.sh: New test. * t/list-of-tests.mk: Add it. * syntax-check.mk (sc_mkdir_p): Delete this check as obsolete. (syntax_check_rules): Remove it. * t/gettext-macros.sh: Ensure the gettext-requiring tests will call aclocal and automake with the 'obsolete' warnings disabled, since even recent versions of gettext used the now-deprecated 'AM_PROG_MKDIR_P' m4 macro. * NEWS: Update. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
* m4: do not quote `like this', as per GCS recommendationStefano Lattarini2012-02-231-2/+2
| | | | | | | | | | | | | This patch converts the files comprising the automake's own build system to the use of new quoting format 'like this' or "like this" rather than `like this'. * m4/auxdir.m4, m4/ccstdc.m4, m4/depend.m4, m4/depout.m4, m4/tar.m4, m4/init.m4, m4/maintainer.m4, m4/make.m4, m4/missing.m4, m4/vala.m4, m4/mkdirp.m4, m4/sanity.m4, m4/silent.m4, m4/strip.m4: Update and adjust quoting format throughout, in comments and diagnostic. Some minor related rewordings and reformatting since we are at it. Bump serial numbers.
* maint: run "make update-copyright"Stefano Lattarini2012-02-161-2/+1
|
* m4: add missing serial numbers to a few filesStefano Lattarini2011-04-171-1/+4
| | | | | | | | | | | | | | Related to automake bug#8483. * m4/amversion.in: Add serial number. * m4/auxdir.m4: Likewise. * m4/gcj.m4: Likewise. * m4/install-sh.m4: Likewise. * m4/mkdirp.m4: Likewise. * m4/python.m4: Likewise. * m4/runlog.m4: Likewise. * m4/strip.m4: Likewise. * m4/upc.m4: Likewise.
* * m4/mkdirp.m4: Typo in previous patch.Alexandre Duret-Lutz2006-08-201-1/+1
|
* * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Prefix mkdir_p withAlexandre Duret-Lutz2006-08-201-4/+11
| | | | $(top_builddir)/ if it is a relative directory.
* * Makefile.am (maintainer-check): Check for mkdir_p.Alexandre Duret-Lutz2006-08-191-1/+5
| | | | | | | | | | | | | * 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.
* * NEWS, configure.ac, m4/init.m4, m4/lispdir.m4, m4/mkdirp.m4:Alexandre Duret-Lutz2006-08-191-1/+1
| | | | | Require Autoconf 2.60 instead of some intermediate development version.
* * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Set `mkdir_p' toRalf Wildenhues2006-06-241-1/+1
| | | | | | | | `'$(MKDIR_P)'', so that it retains the per-directory value computed by config.status. * lib/am/distdir.am (distdir): do not use `$(mkdir_p)' from a changed directory. Bugs reported by Ralf Menzel. * THANKS: Update.
* * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Rewrite using AC_PROG_MKDIR_P.Alexandre Duret-Lutz2006-06-071-57/+5
|
* * lib/install.sh: Handle --, and diagnose unknown options.Paul Eggert2006-04-241-3/+3
| | | | | | * m4/mkdirp.m4 (AM_PROG_MKDIR_P): In the normal case, set mkdir_p='mkdir -p', not to 'mkdir -p --', for consistency with the other ways that mkdir_p might be set.
* * m4/mkdirp.m4: Update misleading comment about `mkdir -p .'.Alexandre Duret-Lutz2005-08-071-15/+19
| | | | Prompted by Stepan Kasal.
* * m4/amversion.in, m4/as.m4, m4/auxdir.m4, m4/ccstdc.m4,Alexandre Duret-Lutz2005-01-091-18/+8
| | | | | | | | | | | m4/cond.m4, m4/depend.m4, m4/depout.m4, m4/dmalloc.m4, m4/gcj.m4, m4/header.m4, m4/init.m4, m4/install-sh.m4, m4/lead-dot.m4, m4/lex.m4, m4/lispdir.m4, m4/maintainer.m4, m4/make.m4, m4/minuso.m4, m4/missing.m4, m4/mkdirp.m4, m4/multi.m4, m4/obsol-gt.m4, m4/obsol-lt.m4, m4/obsolete.m4, m4/options.m4, m4/protos.m4, m4/python.m4, m4/regex.m4, m4/runlog.m4, m4/sanity.m4, m4/strip.m4, m4/tar.m4: Use the same all-permissive license that is used in aclocal.m4. Relicensing backed by RMS.
* * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Remove `.' from the mkdir_pAlexandre Duret-Lutz2004-07-251-6/+14
| | | | | | | | definition, it causes `make install' to fails for user with no right to write in the source-tree. * automake.in (handle_configure): Do not use mkdir_p in the definition for $(mkdir_p). Report from Harlan Stenn.
* * m4/mkdirp.m4: Use `mkdir -p' only with GNU mkdir, becauseAlexandre Duret-Lutz2004-02-151-2/+10
| | | | | | | Solaris 8's mkdir is not thread-safe. * lib/mkinstalldirs: Likewise. * lib/install-sh: Abort when mkdir fails to create a directory. Report from Nathanael Nerode.
* * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Append `.' to $(mkdir_p).Alexandre Duret-Lutz2004-01-081-1/+7
| | | | | | | | | | * lib/install-sh: Accept `install-sh -d' with 0..n arguments, as well as `install-sh sources... dest' with multiple sources. * tests/cond33.test: New file. * tests/instsh2.test: Add more checks for install-sh. * tests/transform.test: Test for installdirs. * tests/Makefile.am (TESTS): Add cond33.test Report from Ralf Corsepius.
* * m4/mkdirp.m4: Do not use `-m 0755'. This overrides special bitsAlexandre Duret-Lutz2004-01-041-6/+16
| | | | | | and break setups where 775 directories are expected. Just obey umask as we did in the past. Report from Harlan Stenn.
* * m4/mkdirp.m4: Do not require AM_AUX_DIR_EXPAND.Alexandre Duret-Lutz2003-11-131-3/+2
|
* * automake.in (handle_configure): Distribute and define mkinstalldirsAlexandre Duret-Lutz2003-11-101-0/+42
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.