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

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Wed Jun 24 17:23:22 UTC 2015


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

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

commit b4d664202d324998bccfbed7212d304b2b73a4e1
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Wed Jun 24 19:21:28 2015 +0200

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

diff --git a/debian/changelog b/debian/changelog
index 0e0b353..b26e53f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+tomcat8 (8.0.23-2) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * debian/rules: Use an english locale when generating the documentation
+    to improve the reproducibility
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Wed, 24 Jun 2015 19:20:31 +0200
+
 tomcat8 (8.0.23-1) unstable; urgency=medium
 
   * New upstream release
diff --git a/debian/rules b/debian/rules
index 266db4e..dfea9b7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,7 @@ VERSION   := $(shell dpkg-parsechangelog --show-field Version | sed 's/-[^-]*$$/
 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')' \
              -Dtoday-iso-8601=$(shell date --date='$(DATE)' --utc +'%F') \
              -Dtstamp=$(shell date --date='$(DATE)' --utc +%H:%M:%S) \
              -Ddistribution.name=$(shell lsb_release -si)
@@ -19,7 +19,7 @@ override_dh_auto_build:
 	$(ANT) deploy
 
 	# Build the Javadoc for the Servlet, JSP, EL and WebSocket APIs
-	$(JAVA_HOME)/bin/javadoc -subpackages "javax.servlet:javax.el:javax.websocket" -d "output/api" \
+	$(JAVA_HOME)/bin/javadoc -locale en_US -subpackages "javax.servlet:javax.el:javax.websocket" -d "output/api" \
 		-sourcepath "java" -author -version -breakiterator -notimestamp \
 		-windowtitle "Tomcat API Documentation" -doctitle "Tomcat API" \
 		-bottom "Copyright © 2000-2015 The Apache Software Foundation. All Rights Reserved."

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



More information about the pkg-java-commits mailing list