summaryrefslogtreecommitdiff
path: root/xen.build-compare.doc_html.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-10-12 04:00:49 +0000
committerCoprDistGit <infra@openeuler.org>2023-10-12 04:00:49 +0000
commitc22f60e6e55f1bf300dd76d2222a93911f3b2bb2 (patch)
treeef665e7018377f53612ac2751dcaea35a1c587b6 /xen.build-compare.doc_html.patch
parent39a4763249cd6289e5019acfe0c98dbb169f5f2e (diff)
automatic import of xenopeneuler22.03_LTS
Diffstat (limited to 'xen.build-compare.doc_html.patch')
-rw-r--r--xen.build-compare.doc_html.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/xen.build-compare.doc_html.patch b/xen.build-compare.doc_html.patch
new file mode 100644
index 0000000..1191b2c
--- /dev/null
+++ b/xen.build-compare.doc_html.patch
@@ -0,0 +1,31 @@
+The result of $(wildcard *) is random.
+Sort input files to reduce build-compare noise.
+
+---
+ docs/Makefile | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+Index: xen-4.13.1-testing/docs/Makefile
+===================================================================
+--- xen-4.13.1-testing.orig/docs/Makefile
++++ xen-4.13.1-testing/docs/Makefile
+@@ -191,7 +191,7 @@ uninstall: uninstall-man-pages uninstall
+
+ # Individual file build targets
+ html/index.html: $(DOC_HTML) $(CURDIR)/gen-html-index INDEX
+- $(PERL) -w -- $(CURDIR)/gen-html-index -i INDEX html $(DOC_HTML)
++ $(PERL) -w -- $(CURDIR)/gen-html-index -i INDEX html $(sort $(DOC_HTML))
+
+ html/%.txt: %.txt
+ @$(INSTALL_DIR) $(@D)
+@@ -206,8 +206,8 @@ html/hypercall/%/index.html: $(CURDIR)/x
+ $(INSTALL_DIR) $(@D)
+ $(PERL) -w $(CURDIR)/xen-headers -O $(@D) \
+ -T 'arch-$* - Xen public headers' \
+- $(patsubst %,-X arch-%,$(filter-out $*,$(DOC_ARCHES))) \
+- $(patsubst %,-X xen-%,$(filter-out $*,$(DOC_ARCHES))) \
++ $(sort $(patsubst %,-X arch-%,$(filter-out $*,$(DOC_ARCHES)))) \
++ $(sort $(patsubst %,-X xen-%,$(filter-out $*,$(DOC_ARCHES)))) \
+ $(EXTRA_EXCLUDE) \
+ $(XEN_ROOT)/xen include/public include/xen/errno.h
+