Hi,
I am playing around with Kaffe's resync-classpath.sh script and improved
it a little so that it only copies files that have a newer timestamp in
the Classpath repository. However, I noticed that the Java sources (in
contrast to all other files) don't have their file attributes preserved
when copied into the dist-dir. This patch fixes this.
2006-01-03 Roman Kennke <[EMAIL PROTECTED]>
* lib/Makefile.am:
(dist-hook): Preserve attributes of Java sources when copying to
dist dir.
/Roman
Index: lib/Makefile.am
===================================================================
RCS file: /cvsroot/classpath/classpath/lib/Makefile.am,v
retrieving revision 1.107
diff -u -r1.107 Makefile.am
--- lib/Makefile.am 18 Dec 2005 18:43:26 -0000 1.107
+++ lib/Makefile.am 3 Jan 2006 12:32:12 -0000
@@ -153,7 +153,7 @@
dist-hook:
mkdir -p $(distdir)
- cp -dfR $(top_srcdir)/gnu $(top_srcdir)/java $(top_srcdir)/javax $(top_srcdir)/org $(top_srcdir)/vm $(top_srcdir)/resource $(distdir)/..
+ cp -pdfR $(top_srcdir)/gnu $(top_srcdir)/java $(top_srcdir)/javax $(top_srcdir)/org $(top_srcdir)/vm $(top_srcdir)/resource $(distdir)/..
# Delete not wanted files.
$(FIND) $(distdir)/../gnu $(distdir)/../java $(distdir)/../javax $(distdir)/../org $(distdir)/../vm $(distdir)/../resource -name CVS -print | xargs rm -fr
$(FIND) $(distdir)/../gnu $(distdir)/../java $(distdir)/../javax $(distdir)/../org $(distdir)/../vm $(distdir)/../resource -name .cvsignore -print | xargs rm -f
_______________________________________________
Classpath-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath-patches