[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
problem with make install and java
From: |
Paul F. Kunz |
Subject: |
problem with make install and java |
Date: |
Wed, 28 Feb 2001 12:29:18 -0800 |
I'm using automake with mix C++ and Java code. Everything is fine,
even the creating of JNI header files, except for one thing. On
"make install", the .class files get copied into the installation
directory. Since, I'm creating a .jar file, which gets installed in
$prefix/share, I don't want the .class files installed.
How do I turn this off?
Here is the relevalent part of my Makefile.am
JAVADOC = @JAVADOC@
JAR = @JAVAPREFIX@/bin/jar
CLASSDIR = $(top_builddir)/hippo
JARPATH = $(top_srcdir)/hippo
CLASSPATH = $(top_srcdir):$(JARPATH)/koala.jar:$(JARPATH)/saxxml.jar
JAVACFLAGS = -g -classpath $(CLASSPATH)
jardir = $(datadir)
jar_DATA = hippo.jar koala.jar saxxml.jar
EXTRA_DIST = hippo.mf.in koala.jar saxxml.jar
javadir = $(prefix)/hippo
java_JAVA = \
AbstractView.java \
[many more .java files deleted]
SUFFIXES = .java .class .jar
hippo.jar : $(java_JAVA)
cd ..; $(JAR) cmf hippo/hippo.mf hippo/hippo.jar hippo/*.class
koala.jar :
saxml.jar :
dummy :
- problem with make install and java,
Paul F. Kunz <=