[oolite] 01/03: Reproducible locale in docs, thanks to clint at debian.org. Closes: #847021.

Nicolas Boulenguez nicolas.boulenguez at free.fr
Sat Jun 3 18:31:04 UTC 2017


This is an automated email from the git hooks/post-receive script.

nicobou-guest pushed a commit to branch master
in repository oolite.

commit bb02a75e5ca9d5bab6b3a64e030260a96b05e0a9
Author: Nicolas Boulenguez <nicolas.boulenguez at free.fr>
Date:   Sat Jun 3 20:21:00 2017 +0200

    Reproducible locale in docs, thanks to clint at debian.org. Closes: #847021.
---
 debian/rules | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index a77fc69..5f59798 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,7 +5,7 @@
 # Copyright (c) 2007-2009 Chris Crowther <hikari at hikari.org.uk>
 # Copyright (c) 2009      Darren Salt <linux at youmustbejoking.demon.co.uk>
 # Copyright (c) 2009      Michael Werle <micha at michaelwerle.com>
-# Copyright (c) 2010-2016 Nicolas Boulenguez <nicolas at debian.org>
+# Copyright (c) 2010-2017 Nicolas Boulenguez <nicolas at debian.org>
 
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -123,6 +123,9 @@ $(TMP_LOFFICE_HOME):
 override_dh_auto_clean::
 	rm -fr $(TMP_LOFFICE_HOME)
 
+# Set locale for reproducible HTML documents.
+$(HTML_FROM_DOC) $(HTML_FROM_ODT): export LC_ALL := C.UTF-8
+
 override_dh_auto_build-indep: $(HTML_FROM_DOC) $(HTML_FROM_ODT)
 $(HTML_FROM_DOC): %.html: %.doc
 	libreoffice --headless --convert-to html --outdir $(dir $@) $<

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/oolite.git



More information about the Pkg-games-commits mailing list