* [PATCH] Documentation: Alternate name for docbook2x-texi binary
@ 2015-05-13 8:28 Michael Darling
0 siblings, 0 replies; 2+ messages in thread
From: Michael Darling @ 2015-05-13 8:28 UTC (permalink / raw)
To: git
In Fedora 21, docbook2x-texi binary is named db2x_docbook2texi.
If binary docbook2-texi is not found, looks for db2x_docbook2texi.
Also gives an error if neither is found.
Signed-off by: Michael Darling <darlingm@gmail.com>
---
Documentation/Makefile | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/Documentation/Makefile b/Documentation/Makefile
index 3e39e28..f5f9ad5 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -116,7 +116,15 @@ HTML_REPO = ../../git-htmldocs
MAKEINFO = makeinfo
INSTALL_INFO = install-info
-DOCBOOK2X_TEXI = docbook2x-texi
+
+DOCBOOK2X_TEXI = $(shell which docbook2x-texi)
+ifeq (, $(DOCBOOK2X_TEXI))
+DOCBOOK2X_TEXI = $(shell which db2x_docbook2texi)
+ifeq (, $(DOCBOOK2X_TEXI))
+$(error Did not find docbook2x-texi or db2x_docbook2texi, required)
+endif
+endif
+
DBLATEX = dblatex
ASCIIDOC_DBLATEX_DIR = /etc/asciidoc/dblatex
ifndef PERL_PATH
--
2.4.0.53.g8440f74
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Documentation: Alternate name for docbook2x-texi binary
@ 2015-07-17 0:43 Michael Darling
0 siblings, 0 replies; 2+ messages in thread
From: Michael Darling @ 2015-07-17 0:43 UTC (permalink / raw)
To: git
[-- Attachment #1: Type: text/plain, Size: 1189 bytes --]
Ping. Don't have write access.
Applied as an attachment, in case there were any formatting issues.
On Wed, May 13, 2015 at 4:28 AM, Michael Darling <darlingm@gmail.com> wrote:
> In Fedora 21, docbook2x-texi binary is named db2x_docbook2texi.
> If binary docbook2-texi is not found, looks for db2x_docbook2texi.
> Also gives an error if neither is found.
>
> Signed-off by: Michael Darling <darlingm@gmail.com>
> ---
> Documentation/Makefile | 10 +++++++++-
> 1 file changed, 9 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/Makefile b/Documentation/Makefile
> index 3e39e28..f5f9ad5 100644
> --- a/Documentation/Makefile
> +++ b/Documentation/Makefile
> @@ -116,7 +116,15 @@ HTML_REPO = ../../git-htmldocs
>
> MAKEINFO = makeinfo
> INSTALL_INFO = install-info
> -DOCBOOK2X_TEXI = docbook2x-texi
> +
> +DOCBOOK2X_TEXI = $(shell which docbook2x-texi)
> +ifeq (, $(DOCBOOK2X_TEXI))
> +DOCBOOK2X_TEXI = $(shell which db2x_docbook2texi)
> +ifeq (, $(DOCBOOK2X_TEXI))
> +$(error Did not find docbook2x-texi or db2x_docbook2texi, required)
> +endif
> +endif
> +
> DBLATEX = dblatex
> ASCIIDOC_DBLATEX_DIR = /etc/asciidoc/dblatex
> ifndef PERL_PATH
> --
> 2.4.0.53.g8440f74
[-- Attachment #2: git.doc.patch --]
[-- Type: application/octet-stream, Size: 703 bytes --]
---
Documentation/Makefile | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/Documentation/Makefile b/Documentation/Makefile
index 3e39e28..f5f9ad5 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -116,7 +116,15 @@ HTML_REPO = ../../git-htmldocs
MAKEINFO = makeinfo
INSTALL_INFO = install-info
-DOCBOOK2X_TEXI = docbook2x-texi
+
+DOCBOOK2X_TEXI = $(shell which docbook2x-texi)
+ifeq (, $(DOCBOOK2X_TEXI))
+DOCBOOK2X_TEXI = $(shell which db2x_docbook2texi)
+ifeq (, $(DOCBOOK2X_TEXI))
+$(error Did not find docbook2x-texi or db2x_docbook2texi, required)
+endif
+endif
+
DBLATEX = dblatex
ASCIIDOC_DBLATEX_DIR = /etc/asciidoc/dblatex
ifndef PERL_PATH
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-07-17 0:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-17 0:43 [PATCH] Documentation: Alternate name for docbook2x-texi binary Michael Darling
-- strict thread matches above, loose matches on Subject: below --
2015-05-13 8:28 Michael Darling
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).