From c97c9c4f171f89e0ecdd47cebfc3564ba1fa9844 Mon Sep 17 00:00:00 2001 From: James Youngman Date: Thu, 24 Mar 2016 06:53:06 +0000 Subject: [PATCH] Adopt the use of the gnulib module "gendocs". * doc/.gitignore: Ignore gendocs_template and gendocs_template_min, since these are copied from gnulib/doc/. * cfg.mk (manual_title): Set $manual_title, since this is needed for maint.mk's nvocation of gendocs.sh. Also set $gendocs_options_ so that the Texinfo tools can find dblocation.texi. * build-aux/.gitignore: Ignore gendocs.sh since it is copied into this directory by gnulib-tool (the file is part of the gendocs module). * bootstrap.conf (maintainer_modules): Add gendocs, so that we can automate the generation of HTML and other documentation for http://www.gnu.org/software/findutils. --- bootstrap.conf | 1 + build-aux/.gitignore | 1 + cfg.mk | 5 +++++ doc/.gitignore | 2 ++ 4 files changed, 9 insertions(+) diff --git a/bootstrap.conf b/bootstrap.conf index 73c64412..bf44f802 100644 --- a/bootstrap.conf +++ b/bootstrap.conf @@ -36,6 +36,7 @@ maintainer_modules=' gitlog-to-changelog maintainer-makefile update-copyright +gendocs ' # 'consider' comments copied from 'import-gnulib.config': diff --git a/build-aux/.gitignore b/build-aux/.gitignore index d403b486..6bb00da2 100644 --- a/build-aux/.gitignore +++ b/build-aux/.gitignore @@ -23,3 +23,4 @@ /vc-list-files /warn-on-use.h /ylwrap +/gendocs.sh diff --git a/cfg.mk b/cfg.mk index 2e3faa83..fabd4dd8 100644 --- a/cfg.mk +++ b/cfg.mk @@ -14,6 +14,11 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . +manual_title = Finding Files +# We need to pass the -I option to gendocs so that the texinfo tools +# can find dblocation.texi, which is a generated file. +gendocs_options_ = -s find.texi -I $(abs_builddir)/doc + local-checks-to-skip := # Errors I think are too picky anyway. diff --git a/doc/.gitignore b/doc/.gitignore index 8a256bc1..a951f73e 100644 --- a/doc/.gitignore +++ b/doc/.gitignore @@ -29,3 +29,5 @@ /regexprops-generic.texi /parse-datetime.texi /dblocation.texi +/gendocs_template +/gendocs_template_min