Skip to contentSkip to conversation

docs/manual: fix call to a2x

PATCH New Yann E. MORIN 2 participants 3 messages Sep 6, 2014 – Sep 7, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs/manual: fix call to a2x

While investigating an asciidoc issue in another project, I've benn told on the asciidoc mailing list that options should come before the input file:
https://groups.google.com/d/msg/asciidoc/cs8-ihIKYXo/pdt-xjeHr8oJ

So be it. ;-)

---
 docs/manual/manual.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
docs/manual/manual.mk +2 -2
index 8d401a2..9486bc6 100644
@@ -70,8 +70,8 @@ $$(O)/docs/$(1)/$(1).$(4): docs/$(1)/$(1).txt \
 	$$(Q)mkdir -p $$(@D)/.build
 	$$(Q)rsync -au docs/$(1)/*.txt $$(@D)/.build
 	$$(Q)a2x $(6) -f $(2) -d book -L -r $$(TOPDIR)/docs/images \
-	        -D $$(@D) $$(@D)/.build/$(1).txt \
-	        --asciidoc-opts="$$(MANUAL_$(2)_ASCIIDOC_OPTS)"
+	        -D $$(@D) --asciidoc-opts="$$(MANUAL_$(2)_ASCIIDOC_OPTS)" \
+	        $$(@D)/.build/$(1).txt
 	-$$(Q)rm -rf $$(@D)/.build
 endef
 
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 docs/manual: fix call to a2x

"Yann E. MORIN" <[email protected]> schreef:

Quoted 25 lines

While investigating an asciidoc issue in another project, I've benn told on the asciidoc mailing list that options should come before the input file:
https://groups.google.com/d/msg/asciidoc/cs8-ihIKYXo/pdt-xjeHr8oJ

So be it. ;-)

---
docs/manual/manual.mk | 4 ++--

1 file changed, 2 insertions(+), 2 deletions(-)
docs/manual/manual.mk +2 -2
index 8d401a2..9486bc6 100644
@@ -70,8 +70,8 @@ $$(O)/docs/$(1)/$(1).$(4): docs/$(1)/$(1).txt \
 	$$(Q)mkdir -p $$(@D)/.build
 	$$(Q)rsync -au docs/$(1)/*.txt $$(@D)/.build
 	$$(Q)a2x $(6) -f $(2) -d book -L -r $$(TOPDIR)/docs/images \
-	        -D $$(@D) $$(@D)/.build/$(1).txt \
-	        --asciidoc-opts="$$(MANUAL_$(2)_ASCIIDOC_OPTS)"
+	        -D $$(@D) --asciidoc-opts="$$(MANUAL_$(2)_ASCIIDOC_OPTS)" \
+	        $$(@D)/.build/$(1).txt
 	-$$(Q)rm -rf $$(@D)/.build
Quoted 2 lines

endef

I believe this is also fixed in Samuel's pending gendoc patches.

Best regards,
Thomas

#2 lore raw

PATCH 1/1 docs/manual: fix call to a2x

Thomas, All,

On 2014-09-07 07:15 +0200, Thomas De Schampheleire spake thusly:

Quoted 22 lines

"Yann E. MORIN" <[email protected]> schreef:

Quoted 21 lines

While investigating an asciidoc issue in another project, I've benn told on the asciidoc mailing list that options should come before the input file:
https://groups.google.com/d/msg/asciidoc/cs8-ihIKYXo/pdt-xjeHr8oJ

So be it. ;-)

---
docs/manual/manual.mk | 4 ++--

1 file changed, 2 insertions(+), 2 deletions(-)
docs/manual/manual.mk +0 -1
index 8d401a2..9486bc6 100644
@@ -70,8 +70,8 @@ $$(O)/docs/$(1)/$(1).$(4): docs/$(1)/$(1).txt \
 	$$(Q)mkdir -p $$(@D)/.build
 	$$(Q)rsync -au docs/$(1)/*.txt $$(@D)/.build
 	$$(Q)a2x $(6) -f $(2) -d book -L -r $$(TOPDIR)/docs/images \
-	        -D $$(@D) $$(@D)/.build/$(1).txt \
Quoted 8 lines
Quoted 6 lines
docs/manual/manual.mk +2 -1
-	        --asciidoc-opts="$$(MANUAL_$(2)_ASCIIDOC_OPTS)"
+	        -D $$(@D) --asciidoc-opts="$$(MANUAL_$(2)_ASCIIDOC_OPTS)" \
+	        $$(@D)/.build/$(1).txt
 	-$$(Q)rm -rf $$(@D)/.build

endef

I believe this is also fixed in Samuel's pending gendoc patches.

Indeed.

I have to admit I lost track on which gendoc series is still pending, given the amount of work you and Samuel have put into it (Thanks!)

I'll review that series in a moment.

In the meantime, I'll update the status of this patch in Patchwork.

Thanks! :-)

Regards,
Yann E. MORIN.

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'