findutils-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Findutils-patches] [PATCH] Adopt the use of the gnulib module "gendocs"


From: James Youngman
Subject: [Findutils-patches] [PATCH] Adopt the use of the gnulib module "gendocs".
Date: Thu, 24 Mar 2016 06:54:37 +0000

* 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 73c6441..bf44f80 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 d403b48..6bb00da 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 2e3faa8..fabd4dd 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 <http://www.gnu.org/licenses/>.
 
+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 8a256bc..a951f73 100644
--- a/doc/.gitignore
+++ b/doc/.gitignore
@@ -29,3 +29,5 @@
 /regexprops-generic.texi
 /parse-datetime.texi
 /dblocation.texi
+/gendocs_template
+/gendocs_template_min
-- 
2.1.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]