diff options
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 100 |
1 files changed, 100 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..fcd0181 --- /dev/null +++ b/Makefile.am @@ -0,0 +1,100 @@ +dist_bin_SCRIPTS = \ + src/run-java-tool + +icondir = $(datadir)/icons/hicolor/48x48/mimetypes +dist_icon_DATA = \ + icons/application-x-java-jnlp-file.png + +desktopdir = $(datadir)/applications +dist_desktop_DATA = \ + src/javaws.desktop + +pixmapsdir = $(datadir)/pixmaps +dist_pixmaps_DATA = \ + icons/java-icon48.png + +envddir = $(sysconfdir)/env.d +dist_envd_DATA = \ + src/20java-config + +profileddir = $(sysconfdir)/profile.d +dist_profiled_DATA = \ + src/java-config-2.csh \ + src/java-config-2.sh + +revdepdir = $(sysconfdir)/revdep-rebuild +dist_revdep_DATA = \ + src/60-java + +EXTRA_DIST = \ + COPYING \ + NEWS \ + README + +MAINTAINERCLEANFILES = \ + aclocal.m4 \ + install-sh \ + missing \ + configure \ + Makefile.in \ + INSTALL + +#------------------------------------------------------------------------------ +# FIXME let eselect java-vm handle symlinks. +tools = \ + 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): + $(LN_S) run-java-tool "$(DESTDIR)/$(bindir)/$@" + +install-exec-hook: $(tools) + +dist-hook: + if test -d "$(srcdir)"/.svn ; then \ + echo "Generating ChangeLog ..." ; \ + ( cd "$(top_srcdir)" && svn2cl --authors AUTHORS -o "$(top_distdir)"/ChangeLog ) ; \ + else \ + echo "Needs a svn checkout to generate a ChangeLog" ; \ + fi |