From 6a2b9f9896ca0c9e976d4835cd6fa0227abe270a Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Mon, 27 Apr 2015 15:34:25 +0200 Subject: [PATCH] docs: Make the build reproducible By setting today's date to the current year, the manpage output doesn't vary with the day the manpage was built. Having reproducible builds is a goal for Debian stretch. --- docs/conf.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index fa75dd79..ec74fcbe 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -105,6 +105,9 @@ from mopidy.utils.versioning import get_version release = get_version() version = '.'.join(release.split('.')[:2]) +# To make the build reproducible, avoid using today's date in the manpages +today = '2015' + exclude_trees = ['_build'] pygments_style = 'sphinx'