[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: JAVAROOT was already defined
From: |
Alexandre Duret-Lutz |
Subject: |
Re: JAVAROOT was already defined |
Date: |
Fri, 19 Mar 2004 22:49:39 +0100 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) |
>>> "Simon" == Simon Josefsson <address@hidden> writes:
[...]
Simon> I'm continuing trying to get automake to build a JAR from some *.java
Simon> files. I think it would be nice with an example for this in the
Simon> manual. OTOH, perhaps it is libtool that should handle JAR?
No idea, I don't know java. The only jar I ever built was a
pottery jar, and that was very long ago...
Simon> I get the following error on 'make install' on the attached
Simon> Makefile.am. I don't understand where this *.class stuff comes from.
The variable libidn_jar_JAVA lists files that must be compiled
and installed in $(libidn_jardir). Obviously the rule assumes
that *.java files get compiled as *.class in the current
directory.
Simon> I even tried prepending all targets with 'noinst_' but no change.
Do you mean noinst_libidn_jar_JAVA or noinst_JAVA? The former
is a mistake, and the latter works for me as I'd expect: the
files listed in $(noinst_JAVA) are compiled but not installed.
Simon> The *.class files are located in gnu/inet/encoding/,
No idea why.
Simon> but I'm not sure installing them is the right thing.
Simon> How can I disable that?
You should use `noinst' as destination directory.
--
Alexandre Duret-Lutz