[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen master] docs: create reproducible html



commit d76a66849100c4d0b1c4efe95845483681889e36
Author:     Olaf Hering <olaf@xxxxxxxxx>
AuthorDate: Tue Feb 3 12:45:35 2015 +0100
Commit:     Ian Campbell <ian.campbell@xxxxxxxxxx>
CommitDate: Tue Feb 24 16:19:02 2015 +0000

    docs: create reproducible html
    
    The Makefile uses wildcard to collect a list of files. The resulting
    list of files is in directory order, which is random. As a result the
    generated html files will differ when build on different hosts.
    
    Use the built-in sort function to get a stable list of files.
    
    Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
    Cc: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
    Cc: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
    Cc: Ian Campbell <ian.campbell@xxxxxxxxxx>
    Cc: Wei Liu <wei.liu2@xxxxxxxxxx>
    Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
 docs/Makefile |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/docs/Makefile b/docs/Makefile
index 2c0903b..854fb50 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -7,14 +7,14 @@ VERSION               := $(shell $(MAKE) -C $(XEN_ROOT)/xen 
--no-print-directory xenversion)
 DOC_ARCHES      := arm x86_32 x86_64
 
 # Documentation sources to build
-MAN1SRC-y := $(wildcard man/xl*.pod.1)
-MAN1SRC-y += $(wildcard man/xenstore*.pod.1)
+MAN1SRC-y := $(sort $(wildcard man/xl*.pod.1))
+MAN1SRC-y += $(sort $(wildcard man/xenstore*.pod.1))
 
-MAN5SRC-y := $(wildcard man/xl*.pod.5)
+MAN5SRC-y := $(sort $(wildcard man/xl*.pod.5))
 
-MARKDOWNSRC-y := $(wildcard misc/*.markdown)
+MARKDOWNSRC-y := $(sort $(wildcard misc/*.markdown))
 
-TXTSRC-y := $(wildcard misc/*.txt)
+TXTSRC-y := $(sort $(wildcard misc/*.txt))
 
 
 DOC_MAN1 := $(patsubst man/%.pod.1,man1/%.1,$(MAN1SRC-y))
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.