Author: raja
Date: 2005-04-14 06:49:53 -0400 (Thu, 14 Apr 2005)
New Revision: 42994

Modified:
   trunk/mcs/build/ChangeLog
   trunk/mcs/build/library.make
Log:
* library.make (dist-local): Include all ChangeLogs in the tarball.


Modified: trunk/mcs/build/ChangeLog
===================================================================
--- trunk/mcs/build/ChangeLog   2005-04-14 10:46:13 UTC (rev 42993)
+++ trunk/mcs/build/ChangeLog   2005-04-14 10:49:53 UTC (rev 42994)
@@ -1,3 +1,7 @@
+2005-04-14  Raja R Harinath  <[EMAIL PROTECTED]>
+
+       * library.make (dist-local): Include all ChangeLogs in the tarball.
+
 2005-04-08  Raja R Harinath  <[EMAIL PROTECTED]>
 
        * profiles/basic.make (do-profile-check): Handle some possible

Modified: trunk/mcs/build/library.make
===================================================================
--- trunk/mcs/build/library.make        2005-04-14 10:46:13 UTC (rev 42993)
+++ trunk/mcs/build/library.make        2005-04-14 10:49:53 UTC (rev 42994)
@@ -203,11 +203,16 @@
 endif
 
 dist-local: dist-default
+       subs=' ' ; \
        for f in `cat $(sourcefile)` $(TEST_FILES) ; do \
          case $$f in \
          ../*) : ;; \
-         *) dest=`dirname $(distdir)/$$f` ; $(MKINSTALLDIRS) $$dest && cp -p 
$$f $$dest || exit 1 ;; \
-         esac ; done
+         *) dest=`dirname $$f` ; \
+            case $$subs in *" $$dest "*) : ;; *) subs=" $$dest$$subs" ; 
$(MKINSTALLDIRS) $(distdir)/$$dest ;; esac ; \
+            cp -p $$f $(distdir)/$$dest || exit 1 ;; \
+         esac ; done ; \
+       for d in . $$subs ; do \
+         case $$d in .) : ;; *) test ! -f $$d/ChangeLog || cp -p $$d/ChangeLog 
$(distdir)/$$d ;; esac ; done
 
 ifndef LIBRARY_COMPILE
 LIBRARY_COMPILE = $(CSCOMPILE)

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to