build: don't use recursive make to build the 'doc' subdirectory
authorStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 29 Aug 2012 12:22:47 +0000 (14:22 +0200)
committerJim Meyering <meyering@redhat.com>
Thu, 30 Aug 2012 13:21:59 +0000 (15:21 +0200)
commitf56980b99cadfe93fc208da781985786fdab87ce
tree7bcfe2692d04df6e509b9ea849be52987847b099
parentd1b490c10da134859e7819c2f6b837e8da3df576
build: don't use recursive make to build the 'doc' subdirectory

* doc/Makefile.am: Rename ...
* doc/local.mk: ... like this.  With further adjustments ...
(info_TEXINFOS): Prepend 'doc/' to all '*.texi' files listed in
here.
(coreutils_TEXINFOS): Likewise, and rename ...
(doc_coreutils_TEXINFOS): ... like this.
(constants.texi): Rename ...
(doc/constants.texi): ... like this.  Adjust the recipe to avoid
spurious errors.
(MAINTAINERCLEANFILES): Adjust, and extend with '+=' rather than
setting it with '='.
(ME): Delete.
(find_upper_case_var): Use '$@', not '$(ME)', in error messages.
* Makefile.am: Include 'doc/local.mk'.
(SUBDIRS): Remove 'doc'.
* configure.ac (AC_CONFIG_FILES): Remove 'doc/Makefile'.
Makefile.am
configure.ac
doc/local.mk [moved from doc/Makefile.am with 90% similarity]