This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: gen-classlist.sh.in: canonicalize pathnames in lib/classes
- From: Andrew Haley <aph at redhat dot com>
- To: classpath-patches at gnu dot org, java-patches at gcc dot gnu dot org
- Date: Wed, 31 Jan 2007 18:15:58 +0000
- Subject: Re: gen-classlist.sh.in: canonicalize pathnames in lib/classes
- References: <17856.51871.721228.969848@zebedee.pink>
Sigh. The same thing, this time for classpath-tools. :-(
Andrew.
2007-01-31 Andrew Haley <aph@redhat.com>
* tools/Makefile.in ($(TOOLS_ZIP)): Use absolute pathnames in
asm.lst and classes.lst.
Index: Makefile.am
===================================================================
--- Makefile.am (revision 121108)
+++ Makefile.am (working copy)
@@ -151,8 +151,9 @@
## GCJ LOCAL: put classes in srcdir
## @rm -rf classes asm
## mkdir classes asm
- find $(srcdir)/external/asm -name '*.java' -print > asm.lst
- find $(srcdir)/gnu/classpath/tools -name '*.java' -print > classes.lst
+ abs_srcdir=`cd $(srcdir) && pwd`
+ find $(abs_srcdir)/external/asm -name '*.java' -print > asm.lst
+ find $(abs_srcdir)/gnu/classpath/tools -name '*.java' -print > classes.lst
cat classes.lst asm.lst > all-classes.lst
if JAVA_MAINTAINER_MODE
## Compile ASM separately as it is latin-1 encoded.