[m-rev.] trivial diff: copy comment from log message to source file

Fergus Henderson fjh at cs.mu.OZ.AU
Sat Jul 28 03:47:59 AEST 2001


One drawback of our policy of requiring detailed log message
is that sometimes people forget to put appropriate information
in as comments in the code.

----------

Estimated hours taken: 0.1
Branches: main

compiler/modules.m:
	Copy a comment from an old log message (revision 1.115)
	into the source file.

Workspace: /home/mars/fjh/ws1/mercury
Index: compiler/modules.m
===================================================================
RCS file: /home/mercury1/repository/mercury/compiler/modules.m,v
retrieving revision 1.184
diff -u -d -r1.184 modules.m
--- compiler/modules.m	2001/07/27 17:30:39	1.184
+++ compiler/modules.m	2001/07/27 17:43:18
@@ -2077,6 +2077,16 @@
 							Date3FileName),
 
 		/*
+		** We add some extra dependencies to the generated `.d' files, so
+		** that local `.int', `.opt', etc. files shadow the installed
+		** versions properly (e.g. for when you're trying to build a new
+		** version of an installed library).  This saves the user from
+		** having to add these explicitly if they have multiple libraries
+		** installed in the same installation hierarchy which aren't
+		** independent (e.g. one uses another).
+		** These extra dependencies are necessary due to the way the
+		** combination of search paths and pattern rules works in Make.
+		**
 		** Be very careful about changing the following rules.
 		** The `@:' is a silent do-nothing command.
 		** It is used to force GNU Make to recheck the timestamp

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list