summaryrefslogtreecommitdiff
path: root/altosui
diff options
context:
space:
mode:
authorTom Marble <tmarble@info9.net>2014-05-28 14:08:02 -0500
committerTom Marble <tmarble@info9.net>2014-05-28 14:08:02 -0500
commit9b9e4bf1b51c45553879141811748e65debfc251 (patch)
tree31c74e8d82f1131f72f9f58e2d3b5d524d1e9a60 /altosui
parent96ffe5bbd2a1b44ddda6cb25d37d2b0a672045f5 (diff)
jenkins.sh: make -j 4 can fail, fix for altosui-test
Diffstat (limited to 'altosui')
-rw-r--r--altosui/Makefile.am9
1 files changed, 6 insertions, 3 deletions
diff --git a/altosui/Makefile.am b/altosui/Makefile.am
index 0440b4af..df9fe5d1 100644
--- a/altosui/Makefile.am
+++ b/altosui/Makefile.am
@@ -263,8 +263,12 @@ altosui: Makefile
chmod +x $@
altosui-test: Makefile
- echo "#!/bin/sh" > $@
- echo 'exec java -Djava.library.path="../libaltos/.libs" -jar altosui.jar "$$@"' >> $@
+ echo '#!/bin/sh' > $@
+ echo 'dir="$$(dirname $$0)"' >> $@
+ echo 'cd "$$dir"' >> $@
+ echo 'altosui="$$(pwd -P)"' >> $@
+ echo 'altos="$$(dirname $$altosui)"' >> $@
+ echo 'exec java -Djava.library.path="$$altos/libaltos/.libs" -jar "$$altosui/altosui.jar" "$$@"' >> $@
chmod +x $@
altosui-jdb: Makefile
@@ -364,4 +368,3 @@ $(MACOSX_DIST): $(MACOSX_FILES) $(MACOSX_EXTRA) Makefile
$(WINDOWS_DIST): $(WINDOWS_FILES) altos-windows.nsi
-rm -f $@
makensis -Oaltos-windows.log "-XOutFile $@" "-DVERSION=$(VERSION)" altos-windows.nsi
-