docs: Fix docs output after commit 6592bf6
PATCH 1/1 docs: Fix docs output after commit 6592bf6
A find option was forgotten in commit 6592bf60beaf1fa0b4fd36fb73800eb001c739af "docs: Look for documentation in sub-directories" resulting to get some docs duplicated and other missing.
--- docs/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
docs/Makefile +2 -2
@@ -10,9 +10,9 @@ DOC_ARCHES := arm x86_32 x86_64 MAN1SRC-y += $(sort $(shell find man -name 'xl*.pod.1' -print)) MAN1SRC-y += $(sort $(shell find man -name 'xenstore*.pod.1' -print)) -MAN5SRC-y := $(sort $(shell find man 'xl*.pod.5' -print)) +MAN5SRC-y := $(sort $(shell find man -name 'xl*.pod.5' -print)) -MARKDOWNSRC-y := $(sort $(shell find misc '*.markdown' -print)) +MARKDOWNSRC-y := $(sort $(shell find misc -name '*.markdown' -print)) TXTSRC-y := $(sort $(shell find misc -name '*.txt' -print))
Signature · 1 line
2.1.4
Quoted 14 lines · Julien Grall
A find option was forgotten in commit
6592bf60beaf1fa0b4fd36fb73800eb001c739af"docs: Look for documentation in sub-directories" resulting to get some docs duplicated and other missing.Signed-off-by Julien Grall <[email protected]>--- docs/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)docs/Makefile +0
-0
docs/Makefile DOC_ARCHES := arm x86_32 x86_64 · line 13
Quoted 5 lines
docs/Makefile +1
-1@@ -10,9 +10,9 @@ DOC_ARCHES := arm x86_32 x86_64 MAN1SRC-y += $(sort $(shell find man -name 'xl*.pod.1' -print)) MAN1SRC-y += $(sort $(shell find man -name 'xenstore*.pod.1' -print)) -MAN5SRC-y := $(sort $(shell find man 'xl*.pod.5' -print)) +MAN5SRC-y := $(sort $(shell find man -name 'xl*.pod.5' -print))
All of the sources should look for *.pod.1 and *.pod.5, without being more specific about an xl or a xenstore prefix.
They were only like that because of limitations with the older $(wildcard ...) invocation.
~Andrew
Quoted 6 lines
docs/Makefile +1
-1-MARKDOWNSRC-y := $(sort $(shell find misc '*.markdown' -print)) +MARKDOWNSRC-y := $(sort $(shell find misc -name '*.markdown' -print)) TXTSRC-y := $(sort $(shell find misc -name '*.txt' -print))
Hi Andrew,
Quoted 18 lines · Andrew Cooper
Quoted 17 lines · Julien Grall
A find option was forgotten in commit
6592bf60beaf1fa0b4fd36fb73800eb001c739af"docs: Look for documentation in sub-directories" resulting to get some docs duplicated and other missing.Signed-off-by Julien Grall <[email protected]>--- docs/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)docs/Makefile +0
-0@@ -10,9 +10,9 @@ DOC_ARCHES := arm x86_32 x86_64 MAN1SRC-y += $(sort $(shell find man -name 'xl*.pod.1' -print)) MAN1SRC-y += $(sort $(shell find man -name 'xenstore*.pod.1' -print))
Quoted 8 lines
docs/Makefile DOC_ARCHES := arm x86_32 x86_64 · line 13
Quoted 2 lines
docs/Makefile +1
-1-MAN5SRC-y := $(sort $(shell find man 'xl*.pod.5' -print)) +MAN5SRC-y := $(sort $(shell find man -name 'xl*.pod.5' -print))All of the sources should look for *.pod.1 and *.pod.5, without being more specific about an xl or a xenstore prefix.
They were only like that because of limitations with the older $(wildcard ...) invocation.
What kind of limitations? Similar pattern were used to match markdown and txt.
In anycase, the patch which replaced wildcard by find retains the same behavior. Changing the pattern is not a bug and should be part of a separate patch.
Feel free to send a follow-up.
Regards,
Signature · 1 line
Julien Grall
Ian Jackson
Acked-byJulien Grall writes ("Re: [Xen-devel] [PATCH] docs: Fix docs output after commit 6592bf6"):
Quoted 7 lines · Andrew Cooper
Quoted 3 lines · Julien Grall
They were only like that because of limitations with the older $(wildcard ...) invocation.
What kind of limitations? Similar pattern were used to match markdown and txt.
Indeed.
Quoted 3 lines
In anycase, the patch which replaced wildcard by find retains the same behavior. Changing the pattern is not a bug and should be part of a separate patch.
Quoted 1 line
Feel free to send a follow-up.
Indeed.
Thanks,
Ian.
Quoted 9 lines · Ian Jackson
Julien Grall writes ("Re: [Xen-devel] [PATCH] docs: Fix docs output after commit 6592bf6"):
Quoted 7 lines · Andrew Cooper
Quoted 3 lines · Julien Grall
They were only like that because of limitations with the older $(wildcard ...) invocation.
What kind of limitations? Similar pattern were used to match markdown and txt.
Quoted 8 lines
Indeed.
Quoted 3 lines
In anycase, the patch which replaced wildcard by find retains the same behavior. Changing the pattern is not a bug and should be part of a separate patch.
Acked-by Ian Jackson <[email protected]>Committed-by Ian Jackson <[email protected]>
Me too ;-) But in a batch with some other stuff which needed build testing. I'll rewind!