Fri Jul 5 08:23:00 1996 Tom Tromey <tromey@creche.cygnus.com>
+ * subdirs.am (maintainer-clean-recursive): Don't be so noisy.
+ Report from Josh MacDonald.
+
+ Bugs from Gord Matzigkeit:
+ * automake.in (handle_footer): Push contents of $(SUFFIXES), not
+ `$(SUFFIXES)'.
+ (handle_dist): Ignore chmod return results.
+
* programs-clean.am (clean-@DIR@PROGRAMS): Work around failing
Solaris "rm -f". Bug from Kaveh R. Ghazi.
* libraries-clean.am (clean-@DIR@LIBRARIES): Likewise.
document actual uses of PACKAGE and VERSION
+> Oh, ok. This should be documented: make the last argument of your
+> AC_OUTPUT line look like this:
+>
+> test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
================================================================
');
$output_rules .= 'dist: distdir' . "\n\t";
- $output_rules .= 'chmod -R a+r $(distdir)' . "\n\t";
+ # Ignore return result from chmod, because it might give an
+ # error if we chmod a symlink.
+ $output_rules .= '-chmod -R a+r $(distdir)' . "\n\t";
$output_rules .= '$(TAR) chozf $(distdir).tar.gz $(distdir)';
$output_rules .= "\n\t" . 'rm -rf $(distdir)' . "\n";
if (defined $options{'dist-shar'})
{
$output_rules .= 'dist-shar: distdir' . "\n\t";
- $output_rules .= 'chmod -R a+r $(distdir)' . "\n\t";
+ # Ignore return result from chmod, because it might give
+ # an error if we chmod a symlink.
+ $output_rules .= '-chmod -R a+r $(distdir)' . "\n\t";
$output_rules .= 'shar $(distdir) | gzip > $(distdir).shar.gz';
$output_rules .= "\n\t" . 'rm -rf $(distdir)' . "\n";
}
if (defined $contents{'SUFFIXES'})
{
- push (@suffixes, '$(SUFFIXES)');
+ # Push actual suffixes, and not $(SUFFIXES). Some versions of
+ # make do not like variable substitutions on the .SUFFIXES
+ # line.
+ push (@suffixes, split (' ', $contents{'SUFFIXES'}));
}
$output_trailer .= ".SUFFIXES:\n";
maintainer-clean-recursive:
for subdir in $(SUBDIRS); do \
target=`echo $@ | sed s/-recursive//`; \
- echo making $$target in $$subdir; \
(cd $$subdir && $(MAKE) $$target) \
## This trick allows "-k" to keep its natural meaning when running a
## recursive rule.
maintainer-clean-recursive:
for subdir in $(SUBDIRS); do \
target=`echo $@ | sed s/-recursive//`; \
- echo making $$target in $$subdir; \
(cd $$subdir && $(MAKE) $$target) \
## This trick allows "-k" to keep its natural meaning when running a
## recursive rule.