git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Documentation/Makefile: make AsciiDoc dblatex dir configurable
@ 2013-10-03 19:17 John Keeping
  2013-10-03 19:20 ` Jonathan Nieder
  2013-10-04  5:43 ` Miklos Vajna
  0 siblings, 2 replies; 3+ messages in thread
From: John Keeping @ 2013-10-03 19:17 UTC (permalink / raw)
  To: git; +Cc: Miklos Vajna, John Keeping

On my system this is in /usr/share/asciidoc/dblatex not
/etc/asciidoc/dblatex.  Extract this portion of the path to a variable
so that is can be set in config.mak.

Signed-off-by: John Keeping <john@keeping.me.uk>
---
 Documentation/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Documentation/Makefile b/Documentation/Makefile
index 0cfdc36..4f13a23 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -103,6 +103,7 @@ MAKEINFO = makeinfo
 INSTALL_INFO = install-info
 DOCBOOK2X_TEXI = docbook2x-texi
 DBLATEX = dblatex
+ASCIIDOC_DBLATEX_DIR = /etc/asciidoc/dblatex
 ifndef PERL_PATH
 	PERL_PATH = /usr/bin/perl
 endif
@@ -354,7 +355,7 @@ user-manual.texi: user-manual.xml
 
 user-manual.pdf: user-manual.xml
 	$(QUIET_DBLATEX)$(RM) $@+ $@ && \
-	$(DBLATEX) -o $@+ -p /etc/asciidoc/dblatex/asciidoc-dblatex.xsl -s /etc/asciidoc/dblatex/asciidoc-dblatex.sty $< && \
+	$(DBLATEX) -o $@+ -p $(ASCIIDOC_DBLATEX_DIR)/asciidoc-dblatex.xsl -s $(ASCIIDOC_DBLATEX_DIR)/asciidoc-dblatex.sty $< && \
 	mv $@+ $@
 
 gitman.texi: $(MAN_XML) cat-texi.perl
-- 
1.8.4.566.g73d370b

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] Documentation/Makefile: make AsciiDoc dblatex dir configurable
  2013-10-03 19:17 [PATCH] Documentation/Makefile: make AsciiDoc dblatex dir configurable John Keeping
@ 2013-10-03 19:20 ` Jonathan Nieder
  2013-10-04  5:43 ` Miklos Vajna
  1 sibling, 0 replies; 3+ messages in thread
From: Jonathan Nieder @ 2013-10-03 19:20 UTC (permalink / raw)
  To: John Keeping; +Cc: git, Miklos Vajna

John Keeping wrote:

> On my system this is in /usr/share/asciidoc/dblatex not
> /etc/asciidoc/dblatex.  Extract this portion of the path to a variable
> so that is can be set in config.mak.
>
> Signed-off-by: John Keeping <john@keeping.me.uk>

Thanks.  Looks good.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Documentation/Makefile: make AsciiDoc dblatex dir configurable
  2013-10-03 19:17 [PATCH] Documentation/Makefile: make AsciiDoc dblatex dir configurable John Keeping
  2013-10-03 19:20 ` Jonathan Nieder
@ 2013-10-04  5:43 ` Miklos Vajna
  1 sibling, 0 replies; 3+ messages in thread
From: Miklos Vajna @ 2013-10-04  5:43 UTC (permalink / raw)
  To: John Keeping; +Cc: git

On Thu, Oct 03, 2013 at 08:17:32PM +0100, John Keeping <john@keeping.me.uk> wrote:
> On my system this is in /usr/share/asciidoc/dblatex not
> /etc/asciidoc/dblatex.  Extract this portion of the path to a variable
> so that is can be set in config.mak.

Sure, makes sense.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-10-04  5:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-03 19:17 [PATCH] Documentation/Makefile: make AsciiDoc dblatex dir configurable John Keeping
2013-10-03 19:20 ` Jonathan Nieder
2013-10-04  5:43 ` Miklos Vajna

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 NNTP newsgroup(s).