[NOTE: I'm sending this to the main coreutils for lack of a dedicated "coreutils-patch" list; I hope it's OK!]
OK, these are the easy pieces actually, but we have to start somewhere. This series consists of: - some preparatory refactorings; - the merging of the "sub build systems" for 'doc/' and 'man/' in the top-level one; - some follow-up cleanings and fixlets; - few independent, "while-we-are-at-it" fixlets and improvements. It's worth noting that the above steps are mostly intermixed, i.e., the preparatory refactoring for the 'man/' merge comes after the actual 'doc/' merge. While this series is not perfect, it seems clear and clean enough, and I think it's ready for inclusion (but any further testing would be appreciated). Thoughts, opinions, ACK, NAK? -*-*-*- Stefano Lattarini (22): build: don't abuse Automake internals (with its 'check-am' rule) maint: slightly improve .gitignore build: add extra *.texi files to coreutils_TEXINFOS, not EXTRA_DIST build: prefer '$(top_srcdir)/doc' over '$(srcdir)' in doc Makefile build: use 'check-local' to extend the 'check' target build: don't use recursive make to build the 'doc' subdirectory build: don't define $(SUFFIXES) explicitly maint: simplify definition of $MAN in configure.ac build: add an explicative comment build: fix a stray usage of uninitialized $(ME) build: rename common_dep -> mandep in man/Makefile maint: typofix: s/it's/its/ build: rely on VPATH capabilities in man/Makefile build: make some rule less dependent of exact source tree layout build: convenience target 'all_programs' at top-level build: rework some recipes in main/Makefile.am, for future changes build: don't use recursive make to build the 'man' subdirectory maint: move man-related syntax checks in cfg.mk maint: adjust syntax check 'check-x-vs-1' maint: adjust syntax check 'sc_option_desc_uppercase' build: remove redundant indirection with variable '$(doc_srcdir)' maint: update gitignore entries .gitignore | 4 +- Makefile.am | 9 +- cfg.mk | 53 ++++++++-- configure.ac | 25 ++--- doc/.gitignore | 1 + doc/{Makefile.am => local.mk} | 53 +++++----- man/Makefile.am | 219 ------------------------------------------ man/local.mk | 183 +++++++++++++++++++++++++++++++++++ tests/check.mk | 2 +- 9 files changed, 279 insertions(+), 270 deletions(-) rename doc/{Makefile.am => local.mk} (71%) delete mode 100644 man/Makefile.am create mode 100644 man/local.mk -- 1.7.12