LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File xen.build-compare.doc_html.patch of Package xen (Project home:charlesa:Factory)

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.9.0-testing/docs/Makefile
===================================================================
--- xen-4.9.0-testing.orig/docs/Makefile
+++ xen-4.9.0-testing/docs/Makefile
@@ -185,7 +185,7 @@ install: install-man-pages install-html
 
 # 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/%.html: %.markdown
 ifneq ($(MARKDOWN),)
@@ -208,8 +208,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