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.
2003-11-10 Alexandre Duret-Lutz <adl@gnu.org>
+ * 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.
+
* tests/defs.in: Handle required=bzip2.
* tests/defs.in: Export SHELL.
am__aclocal_m4_deps = $(top_srcdir)/m4/amversion.m4 \
$(top_srcdir)/m4/auxdir.m4 $(top_srcdir)/m4/init.m4 \
$(top_srcdir)/m4/install-sh.m4 $(top_srcdir)/m4/lead-dot.m4 \
- $(top_srcdir)/m4/missing.m4 $(top_srcdir)/m4/options.m4 \
- $(top_srcdir)/m4/runlog.m4 $(top_srcdir)/m4/sanity.m4 \
- $(top_srcdir)/m4/strip.m4 $(top_srcdir)/configure.ac
+ $(top_srcdir)/m4/missing.m4 $(top_srcdir)/m4/mkdirp.m4 \
+ $(top_srcdir)/m4/options.m4 $(top_srcdir)/m4/runlog.m4 \
+ $(top_srcdir)/m4/sanity.m4 $(top_srcdir)/m4/strip.m4 \
+ $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
libexecdir = @libexecdir@
localstatedir = @localstatedir@
mandir = @mandir@
+mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pkgvdatadir = @pkgvdatadir@
prefix = @prefix@
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
install-binSCRIPTS: $(bin_SCRIPTS)
@$(NORMAL_INSTALL)
- $(mkinstalldirs) $(DESTDIR)$(bindir)
+ $(mkdir_p) $(DESTDIR)$(bindir)
@list='$(bin_SCRIPTS)'; for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
if test -f $$d$$p; then \
distdir: $(DISTFILES)
$(am__remove_distdir)
mkdir $(distdir)
- $(mkinstalldirs) $(distdir)/m4 $(distdir)/tests
+ $(mkdir_p) $(distdir)/m4 $(distdir)/tests
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
list='$(DISTFILES)'; for file in $$list; do \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
dir="/$$dir"; \
- $(mkinstalldirs) "$(distdir)$$dir"; \
+ $(mkdir_p) "$(distdir)$$dir"; \
else \
dir=''; \
fi; \
distuninstallcheck \
&& chmod -R a-w "$$dc_install_base" \
&& ({ \
- (cd ../.. && $(mkinstalldirs) "$$dc_destdir") \
+ (cd ../.. && $(mkdir_p) "$$dc_destdir") \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
all-am: Makefile $(SCRIPTS)
installdirs: installdirs-recursive
installdirs-am:
- $(mkinstalldirs) $(DESTDIR)$(bindir)
+ $(mkdir_p) $(DESTDIR)$(bindir)
install: install-recursive
install-exec: install-exec-recursive
install-data: install-data-recursive
files even if emacs is not installed, while *_LISP do not
install anything unless emacs is found.
+ - Makefiles will prefer `mkdir -p' over mkinstalldirs if it is
+ available. This selection is achieved through the Makefile
+ variable $(mkdir_p) that is set by AM_INIT_AUTOMAKE to either
+ `mkdir -m 0755 -p --', `$(mkinstalldirs) -m 0755', or
+ `$(install_sh) -m 0755 -d'.
+
* Obsolete features
+ - Because `mkdir -p' is available on most platforms, and we can use
+ `install-sh -d' when it is not, the use of the mkinstalldirs
+ script is deprecated. `automake --add-missing' no longer installs
+ it, and if you remove mkinstalldirs from your package, automake
+ will define $(mkinstalldirs) as an alias for $(mkdir_p).
+
+ Gettext 1.12.1 still require mkinstalldirs. Fortunately
+ gettextize and autopoint will install it when needed. Automake
+ will continue to define the $(mkinstalldirs) and distribute
+ mkinstalldirs when this script is in the source tree.
+
- AM_PROG_CC_STDC is now empty. The content of this macro was
merged in AC_PROG_CC. If your code uses $am_cv_prog_cc_stdc, you
should adjust it to use $ac_cv_prog_cc_stdc instead. (This
m4_include([m4/install-sh.m4])
m4_include([m4/lead-dot.m4])
m4_include([m4/missing.m4])
+m4_include([m4/mkdirp.m4])
m4_include([m4/options.m4])
m4_include([m4/runlog.m4])
m4_include([m4/sanity.m4])
FILES => "@distclean_config")
if @distclean_config;
- # Set location of mkinstalldirs.
- define_variable ('mkinstalldirs',
- '$(SHELL) ' . $config_aux_dir . '/mkinstalldirs',
- INTERNAL);
+ # Distribute and define mkinstalldirs only if it is already present
+ # in the package, for backward compatibility (some people my still
+ # use $(mkinstalldirs)).
+ my $mkidpath = $config_aux_path[0] . '/mkinstalldirs';
+ if (-f $mkidpath)
+ {
+ # Use require_file so that any existingscript gets updated
+ # by --force-missing.
+ require_conf_file ($mkidpath, FOREIGN, 'mkinstalldirs');
+ define_variable ('mkinstalldirs',
+ "\$(SHELL) $config_aux_dir/mkinstalldirs", INTERNAL);
+ }
+ else
+ {
+ define_variable ('mkinstalldirs', '$(mkdir_p)', INTERNAL);
+ }
reject_var ('CONFIG_HEADER',
"`CONFIG_HEADER' is an anachronism; now determined "
# FIXME: Is this broken because it needs dynamic scopes.
# My tests seems to show it's not the case.
$relative_dir = '.';
- require_conf_file ($configure_ac, FOREIGN,
- 'install-sh', 'mkinstalldirs', 'missing');
+ require_conf_file ($configure_ac, FOREIGN, 'install-sh', 'missing');
err_am "`install.sh' is an anachronism; use `install-sh' instead"
if -f $config_aux_path[0] . '/install.sh';
$clean_files{$dirstamp} = DIST_CLEAN;
$output_rules .= ("$dirstamp:\n"
- . "\t\@\$(mkinstalldirs) $directory\n"
+ . "\t\@\$(mkdir_p) $directory\n"
. "\t\@: > $dirstamp\n");
}
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.58a for GNU Automake 1.7a.
+# Generated by GNU Autoconf 2.59 for GNU Automake 1.7a.
#
# Report bugs to <bug-automake@gnu.org>.
#
PACKAGE_BUGREPORT='bug-automake@gnu.org'
ac_unique_file="automake.in"
-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot APIVERSION pkgvdatadir PERL TEX LN MODIFICATION_DELAY EGREP FGREP LIBOBJS LTLIBOBJS'
+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot APIVERSION pkgvdatadir PERL TEX LN MODIFICATION_DELAY EGREP FGREP LIBOBJS LTLIBOBJS'
ac_subst_files=''
# Initialize some variables set by options.
if $ac_init_version; then
cat <<\_ACEOF
GNU Automake configure 1.7a
-generated by GNU Autoconf 2.58a
+generated by GNU Autoconf 2.59
Copyright (C) 2003 Free Software Foundation, Inc.
This configure script is free software; the Free Software Foundation
running configure, to aid debugging if configure makes a mistake.
It was created by GNU Automake $as_me 1.7a, which was
-generated by GNU Autoconf 2.58a. Invocation command line was
+generated by GNU Autoconf 2.59. Invocation command line was
$ $0 $@
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
fi
+if mkdir -m 0755 -p -- . 2>/dev/null; then
+ mkdir_p='mkdir -m 0755 -p --'
+else
+ # On NextStep and OpenStep, the `mkdir' command does not
+ # recognize any option. It will interpret all options as
+ # directories to create, and then abort because `.' already
+ # exists.
+ for d in ./-m ./0755 ./-p ./--;
+ do
+ test -d $d && rmdir $d
+ done
+ # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
+ if test -f "$am_aux_dir/mkinstalldirs"; then
+ mkdir_p='$(mkinstalldirs) -m 0755'
+ else
+ mkdir_p='$(install_sh) -m 0755 -d'
+ fi
+fi
+
for ac_prog in gawk mawk nawk awk
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
cat >&5 <<_CSEOF
This file was extended by GNU Automake $as_me 1.7a, which was
-generated by GNU Autoconf 2.58a. Invocation command line was
+generated by GNU Autoconf 2.59. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
CONFIG_HEADERS = $CONFIG_HEADERS
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
GNU Automake config.status 1.7a
-configured by $0, generated by GNU Autoconf 2.58a,
+configured by $0, generated by GNU Autoconf 2.59,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
Copyright (C) 2003 Free Software Foundation, Inc.
s,@STRIP@,$STRIP,;t t
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
+s,@mkdir_p@,$mkdir_p,;t t
s,@AWK@,$AWK,;t t
s,@SET_MAKE@,$SET_MAKE,;t t
s,@am__leading_dot@,$am__leading_dot,;t t
am__aclocal_m4_deps = $(top_srcdir)/m4/amversion.m4 \
$(top_srcdir)/m4/auxdir.m4 $(top_srcdir)/m4/init.m4 \
$(top_srcdir)/m4/install-sh.m4 $(top_srcdir)/m4/lead-dot.m4 \
- $(top_srcdir)/m4/missing.m4 $(top_srcdir)/m4/options.m4 \
- $(top_srcdir)/m4/runlog.m4 $(top_srcdir)/m4/sanity.m4 \
- $(top_srcdir)/m4/strip.m4 $(top_srcdir)/configure.ac
+ $(top_srcdir)/m4/missing.m4 $(top_srcdir)/m4/mkdirp.m4 \
+ $(top_srcdir)/m4/options.m4 $(top_srcdir)/m4/runlog.m4 \
+ $(top_srcdir)/m4/sanity.m4 $(top_srcdir)/m4/strip.m4 \
+ $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
DIST_COMMON = $(automake_TEXINFOS) $(srcdir)/Makefile.in \
libexecdir = @libexecdir@
localstatedir = @localstatedir@
mandir = @mandir@
+mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pkgvdatadir = @pkgvdatadir@
prefix = @prefix@
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
dir="/$$dir"; \
- $(mkinstalldirs) "$(distdir)$$dir"; \
+ $(mkdir_p) "$(distdir)$$dir"; \
else \
dir=''; \
fi; \
check: check-am
all-am: Makefile $(INFO_DEPS)
installdirs:
- $(mkinstalldirs) $(DESTDIR)$(infodir)
+ $(mkdir_p) $(DESTDIR)$(infodir)
install: install-am
install-exec: install-exec-am
install-data: install-data-am
install-info-am: $(INFO_DEPS)
@$(NORMAL_INSTALL)
- $(mkinstalldirs) $(DESTDIR)$(infodir)
+ $(mkdir_p) $(DESTDIR)$(infodir)
@list='$(INFO_DEPS)'; \
for file in $$list; do \
if test -f $$file; then d=.; else d=$(srcdir); fi; \
build can continue.
@item mkinstalldirs
-This works around the fact that @code{mkdir -p} is not portable.
+This script used to be a wrapper around @code{mkdir -p}, which is not
+portable. Now we use prefer to use @code{install-sh -d} when configure
+finds that @code{mkdir -p} does not work, this makes one less script to
+distribute.
+
+For backward compatibility @code{mkinstalldirs} is still used and
+distributed when @code{automake} finds it in a package. But it is no
+longer installed automatically, and it should be safe to remove it.
@item py-compile
This is used to byte-compile Python scripts.
@item AC_CONFIG_AUX_DIR
Automake will look for various helper scripts, such as
-@file{mkinstalldirs}, in the directory named in this macro invocation.
-@c This list is accurate relative to version 1.7.2
+@file{install-sh}, in the directory named in this macro invocation.
+@c This list is accurate relative to version 1.8
(The full list of scripts is: @file{config.guess}, @file{config.sub},
@file{depcomp}, @file{elisp-comp}, @file{compile}, @file{install-sh},
@file{ltmain.sh}, @file{mdate-sh}, @file{missing}, @file{mkinstalldirs},
-@set UPDATED 9 November 2003
+@set UPDATED 10 November 2003
@set UPDATED-MONTH November 2003
@set EDITION 1.7a
@set VERSION 1.7a
-@set UPDATED 9 November 2003
+@set UPDATED 10 November 2003
@set UPDATED-MONTH November 2003
@set EDITION 1.7a
@set VERSION 1.7a
am__aclocal_m4_deps = $(top_srcdir)/m4/amversion.m4 \
$(top_srcdir)/m4/auxdir.m4 $(top_srcdir)/m4/init.m4 \
$(top_srcdir)/m4/install-sh.m4 $(top_srcdir)/m4/lead-dot.m4 \
- $(top_srcdir)/m4/missing.m4 $(top_srcdir)/m4/options.m4 \
- $(top_srcdir)/m4/runlog.m4 $(top_srcdir)/m4/sanity.m4 \
- $(top_srcdir)/m4/strip.m4 $(top_srcdir)/configure.ac
+ $(top_srcdir)/m4/missing.m4 $(top_srcdir)/m4/mkdirp.m4 \
+ $(top_srcdir)/m4/options.m4 $(top_srcdir)/m4/runlog.m4 \
+ $(top_srcdir)/m4/sanity.m4 $(top_srcdir)/m4/strip.m4 \
+ $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
DIST_COMMON = $(dist_perllib_DATA) $(srcdir)/Makefile.in Makefile.am
libexecdir = @libexecdir@
localstatedir = @localstatedir@
mandir = @mandir@
+mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pkgvdatadir = @pkgvdatadir@
prefix = @prefix@
uninstall-info-am:
install-dist_perllibDATA: $(dist_perllib_DATA)
@$(NORMAL_INSTALL)
- $(mkinstalldirs) $(DESTDIR)$(perllibdir)
+ $(mkdir_p) $(DESTDIR)$(perllibdir)
@list='$(dist_perllib_DATA)'; for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
f="`echo $$p | sed -e 's|^.*/||'`"; \
done
install-nodist_perllibDATA: $(nodist_perllib_DATA)
@$(NORMAL_INSTALL)
- $(mkinstalldirs) $(DESTDIR)$(perllibdir)
+ $(mkdir_p) $(DESTDIR)$(perllibdir)
@list='$(nodist_perllib_DATA)'; for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
f="`echo $$p | sed -e 's|^.*/||'`"; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
dir="/$$dir"; \
- $(mkinstalldirs) "$(distdir)$$dir"; \
+ $(mkdir_p) "$(distdir)$$dir"; \
else \
dir=''; \
fi; \
all-am: Makefile $(DATA)
installdirs: installdirs-recursive
installdirs-am:
- $(mkinstalldirs) $(DESTDIR)$(perllibdir) $(DESTDIR)$(perllibdir)
+ $(mkdir_p) $(DESTDIR)$(perllibdir) $(DESTDIR)$(perllibdir)
install: install-recursive
install-exec: install-exec-recursive
install-data: install-data-recursive
am__aclocal_m4_deps = $(top_srcdir)/m4/amversion.m4 \
$(top_srcdir)/m4/auxdir.m4 $(top_srcdir)/m4/init.m4 \
$(top_srcdir)/m4/install-sh.m4 $(top_srcdir)/m4/lead-dot.m4 \
- $(top_srcdir)/m4/missing.m4 $(top_srcdir)/m4/options.m4 \
- $(top_srcdir)/m4/runlog.m4 $(top_srcdir)/m4/sanity.m4 \
- $(top_srcdir)/m4/strip.m4 $(top_srcdir)/configure.ac
+ $(top_srcdir)/m4/missing.m4 $(top_srcdir)/m4/mkdirp.m4 \
+ $(top_srcdir)/m4/options.m4 $(top_srcdir)/m4/runlog.m4 \
+ $(top_srcdir)/m4/sanity.m4 $(top_srcdir)/m4/strip.m4 \
+ $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
libexecdir = @libexecdir@
localstatedir = @localstatedir@
mandir = @mandir@
+mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pkgvdatadir = @pkgvdatadir@
prefix = @prefix@
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
dir="/$$dir"; \
- $(mkinstalldirs) "$(distdir)$$dir"; \
+ $(mkdir_p) "$(distdir)$$dir"; \
else \
dir=''; \
fi; \
am__aclocal_m4_deps = $(top_srcdir)/m4/amversion.m4 \
$(top_srcdir)/m4/auxdir.m4 $(top_srcdir)/m4/init.m4 \
$(top_srcdir)/m4/install-sh.m4 $(top_srcdir)/m4/lead-dot.m4 \
- $(top_srcdir)/m4/missing.m4 $(top_srcdir)/m4/options.m4 \
- $(top_srcdir)/m4/runlog.m4 $(top_srcdir)/m4/sanity.m4 \
- $(top_srcdir)/m4/strip.m4 $(top_srcdir)/configure.ac
+ $(top_srcdir)/m4/missing.m4 $(top_srcdir)/m4/mkdirp.m4 \
+ $(top_srcdir)/m4/options.m4 $(top_srcdir)/m4/runlog.m4 \
+ $(top_srcdir)/m4/sanity.m4 $(top_srcdir)/m4/strip.m4 \
+ $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
DIST_COMMON = $(dist_pkgvdata_DATA) $(dist_script_DATA) \
libexecdir = @libexecdir@
localstatedir = @localstatedir@
mandir = @mandir@
+mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pkgvdatadir = @pkgvdatadir@
prefix = @prefix@
uninstall-info-am:
install-dist_pkgvdataDATA: $(dist_pkgvdata_DATA)
@$(NORMAL_INSTALL)
- $(mkinstalldirs) $(DESTDIR)$(pkgvdatadir)
+ $(mkdir_p) $(DESTDIR)$(pkgvdatadir)
@list='$(dist_pkgvdata_DATA)'; for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
f="`echo $$p | sed -e 's|^.*/||'`"; \
done
install-dist_scriptDATA: $(dist_script_DATA)
@$(NORMAL_INSTALL)
- $(mkinstalldirs) $(DESTDIR)$(scriptdir)
+ $(mkdir_p) $(DESTDIR)$(scriptdir)
@list='$(dist_script_DATA)'; for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
f="`echo $$p | sed -e 's|^.*/||'`"; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
dir="/$$dir"; \
- $(mkinstalldirs) "$(distdir)$$dir"; \
+ $(mkdir_p) "$(distdir)$$dir"; \
else \
dir=''; \
fi; \
all-am: Makefile $(DATA)
installdirs: installdirs-recursive
installdirs-am:
- $(mkinstalldirs) $(DESTDIR)$(pkgvdatadir) $(DESTDIR)$(scriptdir)
+ $(mkdir_p) $(DESTDIR)$(pkgvdatadir) $(DESTDIR)$(scriptdir)
install: install-recursive
install-exec: install-exec-recursive
install-data: install-data-recursive
am__aclocal_m4_deps = $(top_srcdir)/m4/amversion.m4 \
$(top_srcdir)/m4/auxdir.m4 $(top_srcdir)/m4/init.m4 \
$(top_srcdir)/m4/install-sh.m4 $(top_srcdir)/m4/lead-dot.m4 \
- $(top_srcdir)/m4/missing.m4 $(top_srcdir)/m4/options.m4 \
- $(top_srcdir)/m4/runlog.m4 $(top_srcdir)/m4/sanity.m4 \
- $(top_srcdir)/m4/strip.m4 $(top_srcdir)/configure.ac
+ $(top_srcdir)/m4/missing.m4 $(top_srcdir)/m4/mkdirp.m4 \
+ $(top_srcdir)/m4/options.m4 $(top_srcdir)/m4/runlog.m4 \
+ $(top_srcdir)/m4/sanity.m4 $(top_srcdir)/m4/strip.m4 \
+ $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
DIST_COMMON = $(dist_am_DATA) $(srcdir)/Makefile.in Makefile.am
libexecdir = @libexecdir@
localstatedir = @localstatedir@
mandir = @mandir@
+mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pkgvdatadir = @pkgvdatadir@
prefix = @prefix@
uninstall-info-am:
install-dist_amDATA: $(dist_am_DATA)
@$(NORMAL_INSTALL)
- $(mkinstalldirs) $(DESTDIR)$(amdir)
+ $(mkdir_p) $(DESTDIR)$(amdir)
@list='$(dist_am_DATA)'; for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
f="`echo $$p | sed -e 's|^.*/||'`"; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
dir="/$$dir"; \
- $(mkinstalldirs) "$(distdir)$$dir"; \
+ $(mkdir_p) "$(distdir)$$dir"; \
else \
dir=''; \
fi; \
check: check-am
all-am: Makefile $(DATA)
installdirs:
- $(mkinstalldirs) $(DESTDIR)$(amdir)
+ $(mkdir_p) $(DESTDIR)$(amdir)
install: install-am
install-exec: install-exec-am
install-data: install-data-am
?!EXEC?.PHONY install-data-am: install-%DIR%%PRIMARY%
install-%DIR%%PRIMARY%: $(%DIR%_%PRIMARY%)
@$(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%_%PRIMARY%)'; for p in $$list; do \
endif %?TOPDIR_P%
##
##
-?DISTDIRS? $(mkinstalldirs) %DISTDIRS%
+?DISTDIRS? $(mkdir_p) %DISTDIRS%
##
##
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
dir="/$$dir"; \
- $(mkinstalldirs) "$(distdir)$$dir"; \
+ $(mkdir_p) "$(distdir)$$dir"; \
else \
dir=''; \
fi; \
&& ({ \
## Build the directory, so we can cd into it even if `make install'
## didn't create it.
- (cd ../.. && $(mkinstalldirs) "$$dc_destdir") \
+ (cd ../.. && $(mkdir_p) "$$dc_destdir") \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
RECURSIVE_TARGETS += installdirs-recursive
installdirs: installdirs-recursive
installdirs-am:%installdirs-local%
-?am__installdirs? $(mkinstalldirs) %am__installdirs%
+?am__installdirs? $(mkdir_p) %am__installdirs%
else !%?SUBDIRS%
.PHONY: installdirs
installdirs:%installdirs-local%
-?am__installdirs? $(mkinstalldirs) %am__installdirs%
+?am__installdirs? $(mkdir_p) %am__installdirs%
endif !%?SUBDIRS%
?!EXEC?.PHONY install-data-am: install-%DIR%JAVA
install-%DIR%JAVA: class%DIR%.stamp
@$(NORMAL_INSTALL)
- $(mkinstalldirs) $(DESTDIR)$(%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.
?!EXEC?.PHONY install-data-am: install-%DIR%LIBRARIES
install-%DIR%LIBRARIES: $(%DIR%_LIBRARIES)
@$(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%_LIBRARIES)'; for p in $$list; do \
@$(NORMAL_INSTALL)
## Do not install anything if EMACS was not found.
@if test "$(EMACS)" != no; then \
- $(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%_LISP)'; for p in $$list; do \
?!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 \
.PHONY install-man: install-man%SECTION%
install-man%SECTION%: $(man%SECTION%_MANS) $(man_MANS)
@$(NORMAL_INSTALL)
- $(mkinstalldirs) $(DESTDIR)$(man%SECTION%dir)
+ $(mkdir_p) $(DESTDIR)$(man%SECTION%dir)
@list='$(man%SECTION%_MANS) $(dist_man%SECTION%_MANS) $(nodist_man%SECTION%_MANS)'; \
## Extract all items from man_MANS that should go in this section.
## This must be done dynamically to support conditionals.
?!EXEC?.PHONY install-data-am: install-%DIR%PROGRAMS
install-%DIR%PROGRAMS: $(%DIR%_PROGRAMS)
@$(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%_PROGRAMS)'; for p in $$list; do \
?!EXEC?.PHONY install-data-am: install-%DIR%PYTHON
install-%DIR%PYTHON: $(%DIR%_PYTHON)
@$(NORMAL_INSTALL)
- $(mkinstalldirs) $(DESTDIR)$(%NDIR%dir)
+ $(mkdir_p) $(DESTDIR)$(%NDIR%dir)
@list='$(%DIR%_PYTHON)'; dlist=''; for p in $$list; do\
## A file can be in the source directory or the build directory.
if test -f "$$p"; then b=; else b="$(srcdir)/"; fi; \
?!EXEC?.PHONY install-data-am: install-%DIR%SCRIPTS
install-%DIR%SCRIPTS: $(%DIR%_SCRIPTS)
@$(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%_SCRIPTS)'; for p in $$list; do \
if %?LOCAL-TEXIS%
install-info-am: $(INFO_DEPS)
@$(NORMAL_INSTALL)
- $(mkinstalldirs) $(DESTDIR)$(infodir)
+ $(mkdir_p) $(DESTDIR)$(infodir)
@list='$(INFO_DEPS)'; \
for file in $$list; do \
if test -f $$file; then d=.; else d=$(srcdir); fi; \
make.m4 \
minuso.m4 \
missing.m4 \
+mkdirp.m4 \
multi.m4 \
obsol-gt.m4 \
obsol-lt.m4 \
am__aclocal_m4_deps = $(top_srcdir)/m4/amversion.m4 \
$(top_srcdir)/m4/auxdir.m4 $(top_srcdir)/m4/init.m4 \
$(top_srcdir)/m4/install-sh.m4 $(top_srcdir)/m4/lead-dot.m4 \
- $(top_srcdir)/m4/missing.m4 $(top_srcdir)/m4/options.m4 \
- $(top_srcdir)/m4/runlog.m4 $(top_srcdir)/m4/sanity.m4 \
- $(top_srcdir)/m4/strip.m4 $(top_srcdir)/configure.ac
+ $(top_srcdir)/m4/missing.m4 $(top_srcdir)/m4/mkdirp.m4 \
+ $(top_srcdir)/m4/options.m4 $(top_srcdir)/m4/runlog.m4 \
+ $(top_srcdir)/m4/sanity.m4 $(top_srcdir)/m4/strip.m4 \
+ $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
DIST_COMMON = $(dist_m4data_DATA) $(srcdir)/Makefile.in Makefile.am
libexecdir = @libexecdir@
localstatedir = @localstatedir@
mandir = @mandir@
+mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pkgvdatadir = @pkgvdatadir@
prefix = @prefix@
make.m4 \
minuso.m4 \
missing.m4 \
+mkdirp.m4 \
multi.m4 \
obsol-gt.m4 \
obsol-lt.m4 \
uninstall-info-am:
install-dist_m4dataDATA: $(dist_m4data_DATA)
@$(NORMAL_INSTALL)
- $(mkinstalldirs) $(DESTDIR)$(m4datadir)
+ $(mkdir_p) $(DESTDIR)$(m4datadir)
@list='$(dist_m4data_DATA)'; for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
f="`echo $$p | sed -e 's|^.*/||'`"; \
distdir: $(DISTFILES)
- $(mkinstalldirs) $(distdir)/../m4
+ $(mkdir_p) $(distdir)/../m4
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
list='$(DISTFILES)'; for file in $$list; do \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
dir="/$$dir"; \
- $(mkinstalldirs) "$(distdir)$$dir"; \
+ $(mkdir_p) "$(distdir)$$dir"; \
else \
dir=''; \
fi; \
check: check-am
all-am: Makefile $(DATA)
installdirs:
- $(mkinstalldirs) $(DESTDIR)$(m4datadir)
+ $(mkdir_p) $(DESTDIR)$(m4datadir)
install: install-am
install-exec: install-exec-am
install-data: install-data-am
AM_MISSING_PROG(AMTAR, tar)
AM_PROG_INSTALL_SH
AM_PROG_INSTALL_STRIP
+AC_REQUIRE([AM_PROG_MKDIR_P])dnl
# We need awk for the "check" target. The system "awk" is bad on
# some platforms.
AC_REQUIRE([AC_PROG_AWK])dnl
--- /dev/null
+# AM_PROG_MKDIR_P
+# ---------------
+# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
+
+# Copyright (C) 2003 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
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+# 02111-1307, USA.
+
+AC_DEFUN([AM_PROG_MKDIR_P],
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+if mkdir -m 0755 -p -- . 2>/dev/null; then
+ mkdir_p='mkdir -m 0755 -p --'
+else
+ # On NextStep and OpenStep, the `mkdir' command does not
+ # recognize any option. It will interpret all options as
+ # directories to create, and then abort because `.' already
+ # exists.
+ for d in ./-m ./0755 ./-p ./--;
+ do
+ test -d $d && rmdir $d
+ done
+ # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
+ if test -f "$am_aux_dir/mkinstalldirs"; then
+ mkdir_p='$(mkinstalldirs) -m 0755'
+ else
+ mkdir_p='$(install_sh) -m 0755 -d'
+ fi
+fi
+AC_SUBST([mkdir_p])])
include.test \
include2.test \
info.test \
-insh.test \
insh2.test \
install2.test \
installdir.test \
am__aclocal_m4_deps = $(top_srcdir)/m4/amversion.m4 \
$(top_srcdir)/m4/auxdir.m4 $(top_srcdir)/m4/init.m4 \
$(top_srcdir)/m4/install-sh.m4 $(top_srcdir)/m4/lead-dot.m4 \
- $(top_srcdir)/m4/missing.m4 $(top_srcdir)/m4/options.m4 \
- $(top_srcdir)/m4/runlog.m4 $(top_srcdir)/m4/sanity.m4 \
- $(top_srcdir)/m4/strip.m4 $(top_srcdir)/configure.ac
+ $(top_srcdir)/m4/missing.m4 $(top_srcdir)/m4/mkdirp.m4 \
+ $(top_srcdir)/m4/options.m4 $(top_srcdir)/m4/runlog.m4 \
+ $(top_srcdir)/m4/sanity.m4 $(top_srcdir)/m4/strip.m4 \
+ $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
DIST_COMMON = README $(srcdir)/Makefile.in Makefile.am aclocal.in \
libexecdir = @libexecdir@
localstatedir = @localstatedir@
mandir = @mandir@
+mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pkgvdatadir = @pkgvdatadir@
prefix = @prefix@
include.test \
include2.test \
info.test \
-insh.test \
insh2.test \
install2.test \
installdir.test \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
dir="/$$dir"; \
- $(mkinstalldirs) "$(distdir)$$dir"; \
+ $(mkdir_p) "$(distdir)$$dir"; \
else \
dir=''; \
fi; \
#! /bin/sh
-# Copyright (C) 1996, 2001, 2002 Free Software Foundation, Inc.
+# Copyright (C) 1996, 2001, 2002, 2003 Free Software Foundation, Inc.
#
# This file is part of GNU Automake.
#
pkgdata_DATA =
END
+cp $testsrcdir/../lib/mkinstalldirs .
+
# The "././" prefix confuses Automake into thinking it is doing a
# subdir build. Yes, this is hacky.
$ACLOCAL || exit 1
mkdir testSubDir
# Copy in some files we need.
-for file in install-sh mkinstalldirs missing depcomp; do
+for file in install-sh missing depcomp; do
cp $srcdir/../lib/$file testSubDir/$file || exit 1
done
#! /bin/sh
-# Copyright (C) 1996, 2001, 2002 Free Software Foundation, Inc.
+# Copyright (C) 1996, 2001, 2002, 2003 Free Software Foundation, Inc.
#
# This file is part of GNU Automake.
#
. ./defs || exit 1
+set -e
+
cat > Makefile.am << 'END'
EXTRA_DIST = foo/bar ./joe
END
-$ACLOCAL || exit 1
-$AUTOMAKE || exit 1
+$ACLOCAL
+$AUTOMAKE
-grep '\$(mkinstalldirs).*\.' Makefile.in && exit 1
-grep '\$(mkinstalldirs).*foo' Makefile.in || exit 1
+grep '\$(mkdir_p).*\.' Makefile.in && exit 1
+grep '\$(mkdir_p).*foo' Makefile.in
# Check to make sure `foo' isn't made in build directory.
-grep 'mkinstalldirs.*foo.*foo' Makefile.in && exit 1
+grep 'mkdir_p.*foo.*foo' Makefile.in && exit 1
exit 0
#! /bin/sh
-# Copyright (C) 1996, 1997, 1998, 2000, 2001, 2002
+# Copyright (C) 1996, 1997, 1998, 2000, 2001, 2002, 2003
# Free Software Foundation, Inc.
#
# This file is part of GNU Automake.
. ./defs || exit 1
-cat > Makefile.am << 'END'
-data_DATA =
-END
+set -e
-$ACLOCAL || exit 1
-$AUTOMAKE || exit 1
-
-# Create configure so Makefile doesn't look out-of-date.
-echo frob > configure
-echo frob > config.status
-
-# Need a mkinstalldirs we can actually execute. make on my Linux box
-# won't execute this file if is empty, or has just a colon in it (but
-# it will run from the shell).
-cat > mkinstalldirs << 'END'
-#!/bin/sh
-END
-chmod +x mkinstalldirs
-
-# Substitute variables we need.
-sed -e 's,@SHELL@,/bin/sh,g' -e 's/@srcdir@/./g' \
- -e 's/@top_srcdir@/./g' -e 's/@datadir@/./g' \
- -e 's/@SET_MAKE@//g' < Makefile.in > Makefile
+echo AC_OUTPUT >>configure.in
+echo 'data_DATA =' >Makefile.am
+$ACLOCAL
+$AUTOCONF
+$AUTOMAKE
+./configure --prefix `pwd`/inst
$MAKE install
+++ /dev/null
-#! /bin/sh
-# Copyright (C) 1996, 2001, 2002, 2003 Free Software Foundation, Inc.
-#
-# This file is part of GNU Automake.
-#
-# GNU Automake is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-#
-# GNU Automake is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with autoconf; see the file COPYING. If not, write to
-# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-# Boston, MA 02111-1307, USA.
-
-# Test for bug where missing mkinstalldirs give bogus error about
-# missing install-sh.
-
-. ./defs || exit 1
-
-set -e
-
-rm -f mkinstalldirs
-
-: > Makefile.am
-
-$ACLOCAL
-AUTOMAKE_fails
-grep 'required.*mkinstalldirs' stderr
#! /bin/sh
-# Copyright (C) 1996, 1998, 2001, 2002 Free Software Foundation, Inc.
+# Copyright (C) 1996, 1998, 2001, 2002, 2003 Free Software Foundation, Inc.
#
# This file is part of GNU Automake.
#
# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
-# Test to make sure mkinstalldirs invocation correct in install-man
+# Test to make sure mkdir_p invocation correct in install-man
# target. Bug reported by Gordon Irlam <gordoni@cygnus.com>.
. ./defs || exit 1
$ACLOCAL || exit 1
$AUTOMAKE || exit 1
-grep '[^(/]mkinstalldirs' Makefile.in > out || exit 1
+grep '[^(/]mkdir_p' Makefile.in > out || exit 1
test `wc -l < out` -eq 1
# Since the default path includes '../..', we must run this test in
# yet another subdir.
mkdir frob
-mv Makefile.am configure.in mkinstalldirs frob/
+mv Makefile.am configure.in frob/
cd frob
$ACLOCAL
#! /bin/sh
-# Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+# Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
#
# This file is part of GNU Automake.
#
. ./defs || exit 1
+set -e
+
cat > configure.in << 'END'
AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
mkdir templ
: > templ/README.foo.in
-$ACLOCAL || exit 1
-$AUTOMAKE || exit 1
+$ACLOCAL
+$AUTOMAKE
-# Look for mkinstalldirs invocation for the templ directory.
+# Look for mkdir_p invocation for the templ directory.
# We use the `[^/]' to avoid matching `templ/README.foo.in'.
-$EGREP 'mkinstalldirs.*templ([^/]|$)' Makefile.in
+$EGREP 'mkdir_p.*templ([^/]|$)' Makefile.in