[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Patrice Dumas |
Date: |
Fri, 19 Aug 2022 17:12:15 -0400 (EDT) |
branch: master
commit 397a922e2708adec62d67f95176bff81286b83f5
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Fri Aug 19 15:50:46 2022 +0200
README-hacking: add more information on Gnulib use.
---
README-hacking | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/README-hacking b/README-hacking
index aab657f317..55f94cd67a 100644
--- a/README-hacking
+++ b/README-hacking
@@ -111,8 +111,11 @@ Gnulib
This distribution uses Gnulib (http://www.gnu.org/software/gnulib)
to share common files. Gnulib files used in Texinfo are checked in to
-the repository. If you get automake/conf/etc. errors from ./autogen.sh,
-please try getting a checkout of gnulib (in a separate directory from
+the repository. A Gnulib directory is setup in two locations, in
+the main directory and in tp/Texinfo/XS/.
+
+If you get automake/conf/etc. errors from ./autogen.sh, please try
+getting a checkout of gnulib (in a separate directory from
the texinfo checkout), and then run, say,
../gnulib/gnulib-tool --add-import
in your top-level Texinfo directory.
@@ -122,6 +125,9 @@ The currently-used gnulib modules and other gnulib
information are
recorded in gnulib/m4/gnulib-cache.m4. Given a source checkout of
gnulib, you can update the files with gnulib-tool --add-import.
+gnulib-tool --add-import may also be used to add another gnulib module:
+ ../gnulib/gnulib-tool --add-import other_gnulib_module
+
When running gnulib-tool --add-import or otherwise adding modules, it is
necessary to check what files were added or removed (e.g., run "git
status -u") and add new files to the repository with "git add".