[isorelax] 06/07: Set the locale and the encoding when generating the javadoc

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Apr 28 07:44:20 UTC 2016


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

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

commit 02800c454d50d481492e61bed348d22612bd3c79
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Thu Apr 28 09:39:31 2016 +0200

    Set the locale and the encoding when generating the javadoc
---
 debian/changelog | 2 ++
 debian/rules     | 7 +++++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 64ec327..8d26bb2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,8 @@ isorelax (20041111-9) UNRELEASED; urgency=low
   * patches: Switch to 3.0 patch system.
 
   [ Emmanuel Bourg ]
+  * Set the locale and the encoding when generating the javadoc
+    to make the build reproducible
   * Changed the priority from extra to optional
   * Use secure Vcs-* URLs
 
diff --git a/debian/rules b/debian/rules
index 6e9507c..446a2fa 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,10 @@ JAR=jar
 JAVACLASSES=/usr/share/java
 
 JAVAFLAGS=-classpath $(JAVACLASSES)/ant.jar -source 1.5 -target 1.5
-JAVADOCFLAGS=-classpath $(JAVACLASSES)/ant.jar \
+JAVADOCFLAGS=-locale en \
+             -encoding UTF-8 \
+             -notimestamp \
+             -classpath $(JAVACLASSES)/ant.jar \
              -link /usr/share/doc/default-jdk-doc/api \
              -link /usr/share/doc/ant/api/ \
              -source 1.5
@@ -19,7 +22,7 @@ JARFILE=isorelax-20041111.jar
 
 override_dh_auto_build:
 	$(JAVAC) $(JAVAFLAGS) `find jp org -name \*.java`
-	$(JAVADOC) -notimestamp $(JAVADOCFLAGS) -d api `find . -name \*.java`
+	$(JAVADOC) $(JAVADOCFLAGS) -d api `find . -name \*.java`
 
 	$(JAR) c `find . -name \*.class -o -name \*.rxm -o -name \*.rxg -o -name \*.dtd -o -name \*.mod -o -name \*.MF` > $(JARFILE)
 

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



More information about the pkg-java-commits mailing list