[libnb-platform-java] 02/03: Build with fixed buildstamp value and make the build reproducible.
Markus Koschany
apo-guest at moszumanska.debian.org
Sat Jun 20 12:40:38 UTC 2015
This is an automated email from the git hooks/post-receive script.
apo-guest pushed a commit to branch master
in repository libnb-platform-java.
commit 596f7a69c7ef4d8d30db81dd56da22f1b7c4dff2
Author: Markus Koschany <apo at gambaru.de>
Date: Sat Jun 20 00:49:43 2015 +0200
Build with fixed buildstamp value and make the build reproducible.
---
debian/rules | 3 +++
1 file changed, 3 insertions(+)
diff --git a/debian/rules b/debian/rules
index dfffb9e..8e3cc05 100755
--- a/debian/rules
+++ b/debian/rules
@@ -35,6 +35,8 @@ NB_PLATFORM_BUILD_DIR := $(shell pwd)/nbbuild/netbeans/platform
DEB_UPSTREAM_VERSION = $(shell dpkg-parsechangelog | grep -e '^Version' | \
perl -pi -e 's/^Version:\s+(.*)\+dfsg\d+-\d+.*$$/$$1/')
+BUILDSTAMP := $(shell date --utc --date="`dpkg-parsechangelog -SDate`" "+%Y%m%d")
+
# Defined function to be used to create symlinks
define symlink
mkdir -p $(dir $(2))
@@ -63,6 +65,7 @@ override_dh_auto_build:
################################################################
# Build the platform. DISPLAY must be unset to avoid build failures.
unset DISPLAY; ant \
+ -Dbuildstamp=$(BUILDSTAMP) \
-Dhg.id=debian-$(DEB_UPSTREAM_VERSION) \
-Dpermit.jdk7.builds=true \
-Dbuild.compiler.deprecation=false \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libnb-platform-java.git
More information about the pkg-java-commits
mailing list