diff options
author | 2013-01-19 11:40:29 +0000 | |
---|---|---|
committer | 2013-01-19 11:40:29 +0000 | |
commit | edd56183efbce0d0df0fcfd89828ac734549a111 (patch) | |
tree | f641ed797797c273cfdbb1164ef4cf996cbcae32 /Makefile.am | |
parent | Drop useless use of local variable (diff) | |
download | eselect-java-edd56183efbce0d0df0fcfd89828ac734549a111.tar.gz eselect-java-edd56183efbce0d0df0fcfd89828ac734549a111.tar.bz2 eselect-java-edd56183efbce0d0df0fcfd89828ac734549a111.zip |
Import run-java-tool and install location to pkglibexecdir instead of bindir
svn path=/projects/eselect-java/trunk/; revision=9152
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 8e45141..c65c41c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,3 +1,6 @@ +dist_pkglibexec_SCRIPTS= \ + src/scripts/run-java-tool.bash + modulesdir=$(datadir)/eselect/modules/ modules_DATA = \ @@ -45,3 +48,58 @@ dist-hook: else \ echo "Needs a svn checkout to generate a ChangeLog" ; \ fi + +#------------------------------------------------------------------------------ +# FIXME let eselect java-vm handle symlinks. +tools = \ + appletviewer \ + apt \ + ControlPanel \ + extcheck \ + HtmlConverter \ + idlj \ + jar \ + jarsigner \ + java \ + javac \ + javadoc \ + javah \ + javap \ + javaws \ + jconsole \ + jcontrol \ + jdb \ + jhat \ + jinfo \ + jmap \ + jps \ + jrunscript \ + jsadebugd \ + jstack \ + jstat \ + jstatd \ + jvisualvm \ + keytool \ + native2ascii \ + orbd \ + pack200 \ + policytool \ + rmic \ + rmid \ + rmiregistry \ + schemagen \ + serialver \ + servertool \ + tnameserv \ + wsgen \ + wsimport \ + xjc + +.PHONY: $(tools) + +$(tools): + $(MKDIR_P) "$(DESTDIR)/$(bindir)" + $(LN_S) $(pkglibexecdir)/run-java-tool.bash "$(DESTDIR)/$(bindir)/$@" + +install-exec-hook: $(tools) + |