* lib/Automake/Makefile.am (Config.pm): Depend on Makefile too.
(EXTRA_DIST): Add Config.in.
* Makefile.in, lib/Automake/Makefile.in: Regenerate.
* tests/defs.in (AUTOMAKE, ACLOCAL): Use absolute paths in
$perllibdir.
+2003-08-07 Raja R Harinath <harinath@acm.org>
+
+ * Makefile.am (maintainer-check): Update perllibdir.
+ * lib/Automake/Makefile.am (Config.pm): Depend on Makefile too.
+ (EXTRA_DIST): Add Config.in.
+ * Makefile.in, lib/Automake/Makefile.in: Regenerate.
+ * tests/defs.in (AUTOMAKE, ACLOCAL): Use absolute paths in
+ $perllibdir.
+
2003-08-06 Raja R Harinath <harinath@acm.org>
* configure.in (AUTOMAKE, ACLOCAL): Search the 'lib' directory
exit 1; \
fi
## Syntax check with default Perl (on my machine, Perl 5).
- perllibdir=$(srcdir)/lib $(PERL) -c -w automake
- perllibdir=$(srcdir)/lib $(PERL) -c -w aclocal
+ perllibdir=./lib:$(srcdir)/lib $(PERL) -c -w automake
+ perllibdir=./lib:$(srcdir)/lib $(PERL) -c -w aclocal
## expect no instances of '${...}'. However, $${...} is ok, since that
## is a shell construct, not a Makefile construct.
@if grep -F '$${' $(srcdir)/lib/am/[a-z]*.am | \
diff -c $(srcdir)/automake.in automake; \
exit 1; \
fi
- perllibdir=$(srcdir)/lib $(PERL) -c -w automake
- perllibdir=$(srcdir)/lib $(PERL) -c -w aclocal
+ perllibdir=./lib:$(srcdir)/lib $(PERL) -c -w automake
+ perllibdir=./lib:$(srcdir)/lib $(PERL) -c -w aclocal
@if grep -F '$${' $(srcdir)/lib/am/[a-z]*.am | \
grep -F -v '$$$$'; then \
echo "Found too many uses of '\$${' in the lines above." 1>&2; \
-e 's,[@]APIVERSION[@],$(APIVERSION),g' \
-e 's,[@]SHELL[@],$(SHELL),g'
-Config.pm: Config.in
+Config.pm: Config.in Makefile
$(do_subst) <$(srcdir)/Config.in >$@
+
+EXTRA_DIST = Config.in
-e 's,[@]APIVERSION[@],$(APIVERSION),g' \
-e 's,[@]SHELL[@],$(SHELL),g'
+EXTRA_DIST = Config.in
all: all-recursive
.SUFFIXES:
uninstall-nodist_perllibDATA
-Config.pm: Config.in
+Config.pm: Config.in Makefile
$(do_subst) <$(srcdir)/Config.in >$@
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
# strictness to avoid having to create lots and lots of files. A test
# can override this by specifying a different strictness.
if test -z "$AUTOMAKE"; then
- perllibdir=../../lib:$srcdir/../lib
+ perllibdir=`pwd`/../../lib:$srcdir/../lib
export perllibdir
# Use -Wall -Werror by default. Tests for which this is inappropriate
# (e.g. when testing that a warning is enabled by a specific switch)
# See how aclocal should be run.
if test -z "$ACLOCAL"; then
- perllibdir=../../lib:$srcdir/../lib
+ perllibdir=`pwd`/../../lib:$srcdir/../lib
export perllibdir
# Most of the files are in $srcdir/../m4. However amversion.m4 is
# generated in ../m4, so we include that directory in the search