if ($dir_holds_sources
|| $dir_holds_headers
- || &variable_defined ('ETAGS_ARGS'))
+ || &variable_defined ('ETAGS_ARGS')
+ || @tag_deps)
{
local ($xform) = '';
if ($config_header && $relative_dir eq &dirname ($config_header))
# Every Makefile must define some sort of TAGS rule.
# Otherwise, it would be possible for a top-level "make TAGS"
# to fail because some subdirectory failed.
- $output_rules .= ("tags: " . join (' ', @tags_deps)
- . " TAGS\nTAGS:\n\n");
+ $output_rules .= ("tags: TAGS\nTAGS:\n\n");
}
}
+Wed Feb 26 13:05:42 1997 Tom Tromey <tromey@cygnus.com>
+
+ * tagsub.test: New file.
+
Sun Feb 23 11:58:00 1997 Tom Tromey <tromey@cygnus.com>
* texinfo.test, texinfo2.test, texinfo3.test, info.test,
ranlib.test confvar.test confvar2.test stdlib.test cxxo.test \
colon2.test colon3.test remake.test output.test output2.test \
remake2.test output3.test output4.test colneq2.test subst.test \
-defun2.test yaccpp.test texinfo3.test texinfo4.test
+defun2.test yaccpp.test texinfo3.test texinfo4.test tagsub.test
EXTRA_DIST = defs $(TESTS)
-# Makefile.in generated automatically by automake 1.1m from Makefile.am
+# Makefile.in generated automatically by automake 1.1l from Makefile.am
# Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
ranlib.test confvar.test confvar2.test stdlib.test cxxo.test \
colon2.test colon3.test remake.test output.test output2.test \
remake2.test output3.test output4.test colneq2.test subst.test \
-defun2.test yaccpp.test texinfo3.test texinfo4.test
+defun2.test yaccpp.test texinfo3.test texinfo4.test tagsub.test
EXTRA_DIST = defs $(TESTS)
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
DIST_COMMON = ChangeLog Makefile.am Makefile.in
-DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
-
-GZIP = --best
+DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) \
+ $(TEXINFOS) $(MANS) $(EXTRA_DIST)
default: all
.SUFFIXES:
--- /dev/null
+#! /bin/sh
+
+# Test to make sure tags and subdirs work correctly. Bug report by
+# François Pinard.
+
+. $srcdir/defs || exit 1
+
+cat > Makefile.am << 'END'
+SUBDIRS = sub
+END
+
+mkdir sub
+
+cat > sub/Makefile.am << 'END'
+noinst_HEADERS = iguana.h
+END
+
+: > sub/iguana.h
+
+cat > configure.in << 'END'
+PACKAGE=nonesuch
+VERSION=nonesuch
+AC_ARG_PROGRAM
+AC_PROG_MAKE_SET
+AM_PROG_INSTALL
+AC_OUTPUT(Makefile sub/Makefile)
+END
+
+$AUTOMAKE || exit 1
+
+grep '^TAGS:.*tags-recursive' Makefile.in