This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gen-classlist.sh.in: canonicalize pathnames in lib/classes


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]