Wed Apr 30 19:15:47 1997 Tom Tromey <tromey@cygnus.com>
+ * automake.in (handle_dist_worker): Change how top_distdir is
+ computed. Based on patch from Ian Taylor.
+ (handle_dist): Define top_distdir.
+
* automake.in (handle_yacc_lex_cxx): Include CXXFLAGS in CXXLINK.
(handle_yacc_lex_cxx): Include CFLAGS in LINK.
-# Makefile.in generated automatically by automake 1.1o from Makefile.am
+# Makefile.in generated automatically by automake 1.1p from Makefile.am
# Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
maintainer-clean-tags:
distdir = $(PACKAGE)-$(VERSION)
+top_distdir = $(distdir)
+
# This target untars the dist file and tries a VPATH configuration. Then
# it guarantees that the distribution is self-contained by making another
# tarfile.
rm -rf $(distdir)
mkdir $(distdir)
-chmod 777 $(distdir)
- here=`cd $(top_builddir) && pwd`; top_distdir=`cd $$top_distdir && pwd` \
- && cd $(top_srcdir) \
+ here=`cd $(top_builddir) && pwd`; \
+ top_distdir=`cd $(top_distdir) && pwd`; \
+ cd $(top_srcdir) \
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnits Makefile
@for file in $(DISTFILES); do \
d=$(srcdir); \
|| mkdir $(distdir)/$$subdir \
|| exit 1; \
chmod 777 $(distdir)/$$subdir; \
- (cd $$subdir && $(MAKE) top_distdir=$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
+ (cd $$subdir && $(MAKE) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
|| exit 1; \
done
- $(MAKE) top_distdir="$(distdir)" distdir="$(distdir)" dist-info
+ $(MAKE) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
info: $(INFO_DEPS) info-recursive
dvi: $(DVIS) dvi-recursive
check: all-am
distclean-generic:
rm -f Makefile $(DISTCLEANFILES)
- rm -f config.cache config.log stamp-h
+ rm -f config.cache config.log stamp-h stamp-h[0-9]*
test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
maintainer-clean-generic:
-New in 1.1o:
+New in 1.1p:
* Bug fixes
* Better DejaGNU support
* Added no-installinfo option
(
# We need an absolute path for --output-dir. Thus the
# weirdness.
- "\t" . 'here=`cd $(top_builddir) && pwd`; top_distdir=`cd $$top_distdir && pwd` ' . "\\\n"
- . "\t && cd \$(top_srcdir) \\\n"
+ "\t" . 'here=`cd $(top_builddir) && pwd`; ' . "\\\n"
+ . "\t" . 'top_distdir=`cd $(top_distdir) && pwd`; ' . "\\\n"
+ . "\tcd \$(top_srcdir) \\\n"
. "\t && \$(AUTOMAKE) --include-deps --build-dir=\$\$here --srcdir-name=\$(top_srcdir) --output-dir=\$\$top_distdir "
# Set strictness of output.
. ($cygnus_mode ? '--cygnus' : ('--' . $strictness_name))
|| mkdir $(distdir)/$$subdir \\
|| exit 1; \\
chmod 777 $(distdir)/$$subdir; \\
- (cd $$subdir && $(MAKE) top_distdir=$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \\
+ (cd $$subdir && $(MAKE) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \\
|| exit 1; \\
done
';
{
# We must explicitly set distdir and top_distdir for these
# sub-makes.
- $output_rules .= "\t\$(MAKE) top_distdir=\"\$(distdir)\" distdir=\"\$(distdir)\" $targ\n";
+ $output_rules .= "\t\$(MAKE) top_distdir=\"\$(top_distdir)\" distdir=\"\$(distdir)\" $targ\n";
}
push (@phony, 'distdir');
. "\n");
}
}
- if ($relative_dir ne '.')
+ if ($relative_dir eq '.')
+ {
+ $output_rules .= "top_distdir = \$(distdir)\n\n";
+ }
+ else
{
- $output_rules .= "\nsubdir = " . $relative_dir . "\n";
+ $output_rules .= "\nsubdir = " . $relative_dir . "\n\n";
}
# Generate 'dist' target, and maybe dist-shar / dist-zip / dist-tarZ.
-# Makefile.in generated automatically by automake 1.1o from Makefile.am
+# Makefile.in generated automatically by automake 1.1p from Makefile.am
# Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
subdir = m4
+
distdir: $(DISTFILES)
- here=`cd $(top_builddir) && pwd`; top_distdir=`cd $$top_distdir && pwd` \
- && cd $(top_srcdir) \
+ here=`cd $(top_builddir) && pwd`; \
+ top_distdir=`cd $(top_distdir) && pwd`; \
+ cd $(top_srcdir) \
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnits m4/Makefile
@for file in $(DISTFILES); do \
d=$(srcdir); \
distclean-generic:
rm -f Makefile $(DISTCLEANFILES)
- rm -f config.cache config.log stamp-h
+ rm -f config.cache config.log stamp-h stamp-h[0-9]*
test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
maintainer-clean-generic:
-# Makefile.in generated automatically by automake 1.1o from Makefile.am
+# Makefile.in generated automatically by automake 1.1p from Makefile.am
# Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
subdir = tests
+
distdir: $(DISTFILES)
- here=`cd $(top_builddir) && pwd`; top_distdir=`cd $$top_distdir && pwd` \
- && cd $(top_srcdir) \
+ here=`cd $(top_builddir) && pwd`; \
+ top_distdir=`cd $(top_distdir) && pwd`; \
+ cd $(top_srcdir) \
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnits tests/Makefile
@for file in $(DISTFILES); do \
d=$(srcdir); \
distclean-generic:
rm -f Makefile $(DISTCLEANFILES)
- rm -f config.cache config.log stamp-h
+ rm -f config.cache config.log stamp-h stamp-h[0-9]*
test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
maintainer-clean-generic: