git/list[1] front-page[2] threads[3] people[4] search[5] about
 

DOCBOOK2X_TEXI in Documentation/Makefile invalid on some distributions

From
Derek Moore <derek.p.moore@gmail.com>
Date
Oct 9, 2014, 17:53 UTC
Message-ID
<CAMsgyKb-ffkfqRhG-dUkwpnKOcA=3CrZqT57qcqTr+9zm_v2Jw@mail.gmail.com>
Following the INSTALL doc, I was building git with:
make prefix=/usr/local all doc info

Even after installing docbook2X, I couldn't get past the first DB2TEXI build step until I discovered that 'docbook2x-texi' is named 'db2x_docbook2texi' in Fedora 21 using the latest upstream docbook2X 0.8.8.

To the "everything" build to complete, I had to make this change:
$ git diff
diff --git a/Documentation/Makefile b/Documentation/Makefile
index cea0e7a..0e6c70a 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -107,7 +107,7 @@ HTML_REPO = ../../git-htmldocs

 MAKEINFO = makeinfo
 INSTALL_INFO = install-info
-DOCBOOK2X_TEXI = docbook2x-texi
+DOCBOOK2X_TEXI = db2x_docbook2texi
 DBLATEX = dblatex
 ASCIIDOC_DBLATEX_DIR = /etc/asciidoc/dblatex
 ifndef PERL_PATH


I searched the mailing list, but don't see 'db2x_docbook2texi'
mentioned since 2010, so I feel somewhat safe brining it up again.

Not sure if the Makefile should somehow conditionally use one or the
other of these commands. ... Or maybe I should have gone the 'make
configure' route?

Thanks,

Derek
Next: Jeff King
Message 1 of 3 in “DOCBOOK2X_TEXI in Documentation/Makefile invalid on some distributions”
  1. Derek MooreOct 9, 2014
  2. Jeff KingOct 9, 2014
  3. Derek MooreOct 9, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.