[libnb-platform-java] 14/22: Build fake windows binaries to avoid a FTBFS
Markus Koschany
apo at moszumanska.debian.org
Sat Oct 29 13:12:27 UTC 2016
This is an automated email from the git hooks/post-receive script.
apo pushed a commit to branch master
in repository libnb-platform-java.
commit efa92361ba1f393a99c01bfd7549f03876092908
Author: Markus Koschany <apo at debian.org>
Date: Thu Oct 27 22:23:33 2016 +0200
Build fake windows binaries to avoid a FTBFS
---
debian/rules | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/debian/rules b/debian/rules
index 2285c17..d8e0581 100755
--- a/debian/rules
+++ b/debian/rules
@@ -56,6 +56,11 @@ override_dh_auto_build:
ln -sf /usr/share/xml/w3c-sgml-lib/schema/dtd/REC-xhtml-modularization-20100729/xhtml* nbbuild/external/xhtml1-dtds
# link Debian's system jars
$(shell awk 'NF==4 {printf("ln -sf %s %s/%s;\n",$$1,$$2,$$4)}' debian/linked-jars)
+ # Build fake windows binaries
+ touch o.n.bootstrap/launcher/windows/nbexec64.exe
+ touch o.n.bootstrap/launcher/windows/nbexec64.dll
+ touch o.n.bootstrap/launcher/windows/nbexec.exe
+ touch o.n.bootstrap/launcher/windows/nbexec.dll
# Build the platform. DISPLAY must be unset to avoid build failures.
unset DISPLAY; ant \
-Dbuildstamp=$(BUILDSTAMP) \
@@ -141,6 +146,10 @@ override_dh_auto_clean:
find . -name "*.jar" -type l -delete
$(RM) -r nbbuild/external/xhtml1-dtds
$(RM) nbbuild/nbproject/private/scan-cache-standard.ser
+ $(RM) o.n.bootstrap/launcher/windows/nbexec64.exe
+ $(RM) o.n.bootstrap/launcher/windows/nbexec64.dll
+ $(RM) o.n.bootstrap/launcher/windows/nbexec.exe
+ $(RM) o.n.bootstrap/launcher/windows/nbexec.dll
override_jh_depends:
# Skipping jh_depends run - since we use symlinks to /usr/share/java then
--
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