summaryrefslogtreecommitdiffstats
path: root/rules/jvisu.make
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2005-07-05 14:00:53 +0000
committerRobert Schwebel <r.schwebel@pengutronix.de>2005-07-05 14:00:53 +0000
commita4c58c7d879017791296b0bffc4fe17e39e97126 (patch)
treea8a6933b406d0c4cf4100c6d06bdc1618a38abef /rules/jvisu.make
parentee7758dd087bde1e91266f0d18bbf1b30afd7be2 (diff)
downloadptxdist-a4c58c7d879017791296b0bffc4fe17e39e97126.tar.gz
ptxdist-a4c58c7d879017791296b0bffc4fe17e39e97126.tar.xz
added
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-0.7-trunk@2896 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/jvisu.make')
-rw-r--r--rules/jvisu.make10
1 files changed, 9 insertions, 1 deletions
diff --git a/rules/jvisu.make b/rules/jvisu.make
index fe2a7ee6f..5be8540bf 100644
--- a/rules/jvisu.make
+++ b/rules/jvisu.make
@@ -55,6 +55,11 @@ $(STATEDIR)/jvisu.extract: $(jvisu_extract_deps)
@$(call clean, $(JVISU_DIR))
@$(call extract, $(JVISU_SOURCE))
@$(call patchin, $(JVISU))
+
+ # FIXME: we cannot currently overwrite the JAVAPATH on the command line,
+ # so we tweak it here in a way that it works at least with Debian
+ perl -i -p -e "s,^JAVAPATH=.*,JAVAPATH=/usr,g" $(JVISU_DIR)/build.properties
+
touch $@
# ----------------------------------------------------------------------------
@@ -125,7 +130,10 @@ $(STATEDIR)/jvisu.targetinstall: $(jvisu_targetinstall_deps)
@$(call install_fixup,DEPENDS,)
@$(call install_fixup,DESCRIPTION,missing)
- @$(call install_copy, 0, 0, 0755, $(COREUTILS_DIR)/foobar, /dev/null)
+ifdef PTXCONF_JVISU_APPLET
+ # User: www; Group: www
+ @$(call install_copy, 12, 102, 0644, $(JVISU_DIR)/jar/jvisu.jar, $(PTXCONF_JVISU_APPLET_PATH)/jvisu.jar, n)
+endif
@$(call install_finish)