+Mon Sep 29 12:57:00 1997 Tom Tromey <tromey@cygnus.com>
+
+ * Released 1.2c.
+
+ * automake.in (handle_dist_worker): In topmost directory of
+ project, use `distdir', not `top_distdir', as argument to
+ --output-dir; likewise when building in subdirs.
+
Sun Sep 28 15:55:46 1997 Tom Tromey <tromey@cygnus.com>
* m4/sanity.m4: Test $*, not $@. From Akim Demaille.
-# Makefile.in generated automatically by automake 1.2b from Makefile.am
+# Makefile.in generated automatically by automake 1.2c from Makefile.am
# Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
DATA = $(pkgdata_DATA)
DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
-Makefile.in NEWS README-alpha THANKS TODO aclocal.in aclocal.m4 \
-ansi2knr.1 ansi2knr.c automake.in config.guess config.sub configure \
-configure.in elisp-comp install-sh mdate-sh missing mkinstalldirs \
-stamp-vti texinfo.tex version.texi ylwrap
+Makefile.in NEWS THANKS TODO aclocal.in aclocal.m4 ansi2knr.1 \
+ansi2knr.c automake.in config.guess config.sub configure configure.in \
+elisp-comp install-sh mdate-sh missing mkinstalldirs stamp-vti \
+texinfo.tex version.texi ylwrap
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
-rm -rf $(distdir)
distdir: $(DISTFILES)
- @if sed 15q $(srcdir)/NEWS | fgrep -e "$(VERSION)" > /dev/null; then :; else \
- echo "NEWS not updated; not releasing" 1>&2; \
- exit 1; \
- fi
-rm -rf $(distdir)
mkdir $(distdir)
-chmod 777 $(distdir)
here=`cd $(top_builddir) && pwd`; \
- top_distdir=`cd $(top_distdir) && pwd`; \
+ top_distdir=`cd $(distdir) && pwd`; \
distdir=`cd $(distdir) && pwd`; \
cd $(top_srcdir) \
- && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$distdir --gnits Makefile
+ && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnits Makefile
@for file in $(DISTFILES); do \
d=$(srcdir); \
test -f $(distdir)/$$file \
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|| cp -p $$d/$$file $(distdir)/$$file; \
done
- for subdir in $(SUBDIRS); do \
- test -d $(distdir)/$$subdir \
- || mkdir $(distdir)/$$subdir \
- || exit 1; \
- chmod 777 $(distdir)/$$subdir; \
- (cd $$subdir && $(MAKE) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
+ for subdir in $(SUBDIRS); do \
+ test -d $(distdir)/$$subdir \
+ || mkdir $(distdir)/$$subdir \
+ || exit 1; \
+ chmod 777 $(distdir)/$$subdir; \
+ (cd $$subdir && $(MAKE) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
|| exit 1; \
done
$(MAKE) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
-New in 1.2b:
+New in 1.2c:
* Bug fixes
* Better Cygwin32 support
* Support for suffix rules with _SOURCES variables
+* New options `readme-alpha' and `check-news'; Gnits mode sets these
\f
New in 1.2:
* Bug fixes
* must split $obj into two parts: one for libtool and one for
deansification. Otherwise .S files will be deansified!
+* ansi2knr must currently appear in a directory that has some source
+
* if program has the same name as a target, do something sensible:
- if the target is internal, rename it
- if the target is mandated (eg, "info"), tell the user
-dnl aclocal.m4 generated automatically by aclocal 1.2b
+dnl aclocal.m4 generated automatically by aclocal 1.2c
dnl Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
dnl This Makefile.in is free software; the Free Software Foundation
# directory).
if (
set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
- if test "[$]@" = "X"; then
+ if test "[$]*" = "X"; then
# -L didn't work.
set X `ls -t $srcdir/configure conftestfile`
fi
# Check that the library fits the standard naming convention.
if ($onelib !~ /^lib.*\.a$/)
{
- # FIXME this should only be a warning for foreign packages
# FIXME should put line number here. That means mapping
# from library name back to variable name.
&am_error ("\`$onelib' is not a standard library name");
{
$output_rules .=
(
- # We need an absolute path for --output-dir. Thus the
- # weirdness.
+ # There are several directories we need to know about
+ # when rebuilding the Makefile.ins. They are:
+ # here - The absolute path to our topmost build directory.
+ # top_distdir - The absolute path to the top of our dist
+ # hierarchy.
+ # distdir - The path to our sub-part of the dist hierarchy.
+ # If this directory is the topmost directory, we set
+ # top_distdir from distdir; that lets us pass in distdir
+ # from an enclosing package.
"\t" . 'here=`cd $(top_builddir) && pwd`; ' . "\\\n"
- . "\t" . 'top_distdir=`cd $(top_distdir) && pwd`; ' . "\\\n"
- . "\t" . 'distdir=`cd $(distdir) && pwd`; ' . "\\\n"
+ . "\t" . 'top_distdir=`cd $('
+ . (($relative_dir eq '.') ? 'distdir' : 'top_distdir')
+ . ') && pwd`; ' . "\\\n"
+ . "\t" . 'distdir=`cd $(distdir) && pwd`; ' . "\\\n"
. "\tcd \$(top_srcdir) \\\n"
- . "\t && \$(AUTOMAKE) --include-deps --build-dir=\$\$here --srcdir-name=\$(top_srcdir) --output-dir=\$\$distdir "
+ . "\t && \$(AUTOMAKE) --include-deps --build-dir=\$\$here --srcdir-name=\$(top_srcdir) --output-dir=\$\$top_distdir "
# Set strictness of output.
. ($cygnus_mode ? '--cygnus' : ('--' . $strictness_name))
. ($cmdline_use_dependencies ? '' : ' --include-deps')
# we explicitly set distdir for the subdir make; that lets us
# mix-n-match many automake-using packages into one large
# package, and have "dist" at the top level do the right
- # thing.
- $output_rules .= ' for subdir in $(' . $dist_subdir_name . '); do \\
- test -d $(distdir)/$$subdir \\
- || mkdir $(distdir)/$$subdir \\
- || exit 1; \\
- chmod 777 $(distdir)/$$subdir; \\
- (cd $$subdir && $(MAKE) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \\
- || exit 1; \\
- done
-';
+ # thing. If we're in the topmost directory, then we use
+ # `distdir' instead of `top_distdir'; this lets us work
+ # correctly with an enclosing package.
+ $output_rules .=
+ ("\t" . 'for subdir in $(' . $dist_subdir_name . '); do ' . "\\\n"
+ . "\t" . ' test -d $(distdir)/$$subdir ' . "\\\n"
+ . "\t" . ' || mkdir $(distdir)/$$subdir ' . "\\\n"
+ . "\t" . ' || exit 1; ' . "\\\n"
+ . "\t" . ' chmod 777 $(distdir)/$$subdir; ' . "\\\n"
+ . "\t" . ' (cd $$subdir && $(MAKE) top_distdir=../$('
+ . (($relative_dir eq '.') ? 'distdir' : 'top_distdir')
+ . ') distdir=../$(distdir)/$$subdir distdir) ' . "\\\n"
+ . "\t" . ' || exit 1; ' . "\\\n"
+ . "\tdone\n");
}
# If the target `dist-hook' exists, make sure it is run. This
PACKAGE=automake
-VERSION=1.2b
+VERSION=1.2c
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
{ echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
# directory).
if (
set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
- if test "$@" = "X"; then
+ if test "$*" = "X"; then
# -L didn't work.
set X `ls -t $srcdir/configure conftestfile`
fi
dnl Process this file with autoconf to produce a configure script.
AC_INIT(automake.in)
-AM_INIT_AUTOMAKE(automake, 1.2b)
+AM_INIT_AUTOMAKE(automake, 1.2c)
# Find an appropriate tar for use in "dist" targets. A "best guess"
# is good enough -- if we can't find GNU tar, we don't really care.
-# Makefile.in generated automatically by automake 1.2b from Makefile.am
+# Makefile.in generated automatically by automake 1.2c from Makefile.am
# Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
top_distdir=`cd $(top_distdir) && pwd`; \
distdir=`cd $(distdir) && pwd`; \
cd $(top_srcdir) \
- && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$distdir --gnits m4/Makefile
+ && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnits m4/Makefile
@for file in $(DISTFILES); do \
d=$(srcdir); \
test -f $(distdir)/$$file \
@set UPDATED 28 September 1997
-@set EDITION 1.2b
-@set VERSION 1.2b
+@set EDITION 1.2c
+@set VERSION 1.2c
-# Makefile.in generated automatically by automake 1.2b from Makefile.am
+# Makefile.in generated automatically by automake 1.2c from Makefile.am
# Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
top_distdir=`cd $(top_distdir) && pwd`; \
distdir=`cd $(distdir) && pwd`; \
cd $(top_srcdir) \
- && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$distdir --gnits tests/Makefile
+ && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnits tests/Makefile
@for file in $(DISTFILES); do \
d=$(srcdir); \
test -f $(distdir)/$$file \
@set UPDATED 28 September 1997
-@set EDITION 1.2b
-@set VERSION 1.2b
+@set EDITION 1.2c
+@set VERSION 1.2c