(initialize_per_input): Initialize %targets.
(read_am_file): Set appropriate entry in %targets.
Many changes to use variable_defined.
+ (check_gnu_standards): Only require ChangeLog at top level. From
+ Gord Matzigkeit.
+ (handle_tests): check-TESTS depends on $(TESTS). From Gord
+ Matzigkeit.
Mon Apr 8 22:51:41 1996 Tom Tromey <tromey@creche.cygnus.com>
Scan source directories and warn about missing files, eg .c/.h files
that aren't mentioned?
+Gord Matzigkeit says:
+> Can there be a way to specify that only object files be built?
+> This is useful for testing dynamic linking (the dld library) and
+> loadable kernel modules.
+
Currently gettext requires @INTLSUB@ and @POSUB@ in SUBDIRS. In the
future this will be just intl and po. When that happens, re-enable
warnings in handle_subdirs.
# new macro, $(TEST_SHELL), a la $(CONFIG_SHELL)? For now we just
# execute the file directly; this allows test files which are
# compiled -- a possibly useful feature.
- $output_rules .= 'check-TESTS:
+ $output_rules .= 'check-TESTS: $(TESTS)
@failed=0; all=0; \\
srcdir=$(srcdir); export srcdir; \\
for tst in $(TESTS); do \\
# Do any extra checking for GNU standards.
sub check_gnu_standards
{
- &require_file ($GNU, 'ChangeLog');
-
if ($relative_dir eq '.')
{
# In top level (or only) directory.
&require_file ($GNU, 'INSTALL', 'NEWS', 'README', 'COPYING',
- 'AUTHORS');
+ 'AUTHORS', 'ChangeLog');
}
}
|| ln $(srcdir)/$$file $(distdir)/$$file 2> /dev/null \
|| cp -p $(srcdir)/$$file $(distdir)/$$file; \
done
-check-TESTS:
+check-TESTS: $(TESTS)
@failed=0; all=0; \
srcdir=$(srcdir); export srcdir; \
for tst in $(TESTS); do \