The output of 'make dist' has become more and more cluttered. I am thinking of two choices to clean it up: - either post all commands, i.e., each cp and all, - or just post basically one line per directory, - or post nothing.
The patch below goes the second way. I've pushed it now, but I'd appreciate comments, thoughts, and suggestions? Thanks, Ralf Nicer 'make dist' output. * lib/am/distdir.am (distdir): Hide the complex script used for computing the relative subdirs; echo the sub-make command. diff --git a/lib/am/distdir.am b/lib/am/distdir.am index 41e9b2b..6f48293 100644 --- a/lib/am/distdir.am +++ b/lib/am/distdir.am @@ -195,7 +195,7 @@ endif %?TOPDIR_P% ## us work correctly with an enclosing package. ## if %?SUBDIRS% - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ @@ -206,6 +206,8 @@ if %?SUBDIRS% dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ + echo " am__remove_distdir=: am__skip_length_check=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \