[tomcat7] 01/03: Use an english locale when generating the documentation to improve the reproducibility

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Wed Jul 8 10:55:24 UTC 2015


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

ebourg-guest pushed a commit to branch master
in repository tomcat7.

commit e8fcee201e2670038a0de75cd6c9b64d4f1230ed
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Wed Jul 8 12:13:50 2015 +0200

    Use an english locale when generating the documentation to improve the reproducibility
---
 debian/changelog | 7 +++++++
 debian/rules     | 4 ++--
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index eba36c8..5f85ee7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+tomcat7 (7.0.62-2) UNRELEASED; urgency=medium
+
+  * debian/rules: Use an english locale when generating the documentation
+    to improve the reproducibility
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Wed, 08 Jul 2015 12:13:18 +0200
+
 tomcat7 (7.0.62-1) unstable; urgency=medium
 
   * New upstream release
diff --git a/debian/rules b/debian/rules
index 8e3710a..182de51 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,7 +10,7 @@ T_MAVENIZED_JARS := jasper-el annotations-api jasper catalina-ha catalina
 DATE      := $(shell dpkg-parsechangelog --show-field Date)
 ANT       := ant -propertyfile debian/ant.properties \
              -Dyear=$(shell date --date='$(DATE)' --utc +'%Y') \
-             -Dtoday='$(shell date --date='$(DATE)' --utc +'%b %-d %Y')' \
+             -Dtoday='$(shell LANG=en date --date='$(DATE)' --utc +'%b %-d %Y')' \
              -Dtstamp=$(shell date --date='$(DATE)' --utc +%H:%M:%S) \
              -Ddistribution.name=$(shell lsb_release -si)
 
@@ -21,7 +21,7 @@ override_dh_auto_build:
 	$(ANT) extras-jmx-remote deploy
 
 	# Build the Javadoc for the Servlet, JSP, EL and WebSocket APIs
-	javadoc -subpackages "javax.servlet" -d "output/api" \
+	javadoc -locale en -subpackages "javax.servlet" -d "output/api" \
 		-sourcepath "java" -author -version -breakiterator -notimestamp \
 		-windowtitle "Tomcat API Documentation" -doctitle "Tomcat API" \
 		-bottom "Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved."

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



More information about the pkg-java-commits mailing list