[m-rev.] trivial diff: another --use-subdirs fix

Fergus Henderson fjh at cs.mu.OZ.AU
Wed Jun 27 18:08:50 AEST 2001


Estimated hours taken: 0.25
Branches: main, release

tests/valid/Mmakefile:
	Add $(dates_subdir) and $(date0s_subdir) to a couple of hand-coded
	dependencies, so that it works correct with --use-subdirs.

Workspace: /home/mars/fjh/ws1/mercury
Index: tests/valid/Mmakefile
===================================================================
RCS file: /home/mercury1/repository/tests/valid/Mmakefile,v
retrieving revision 1.88
diff -u -d -r1.88 Mmakefile
--- tests/valid/Mmakefile	2001/05/31 06:00:23	1.88
+++ tests/valid/Mmakefile	2001/06/27 08:05:16
@@ -292,9 +292,11 @@
 MCFLAGS-vn_float		= -O5
 MCFLAGS-zero_arity		= --infer-modes
 
-# XXX mmake should automatically handle this dependency.
-intermod_nested_module2.date: intermod_nested_module2.date0
-intermod_user_equality_nested2.date: intermod_user_equality_nested2.date0
+# XXX mmake should automatically handle these two dependencies.
+$(dates_subdir)intermod_nested_module2.date: \
+	$(date0s_subdir)intermod_nested_module2.date0
+$(dates_subdir)intermod_user_equality_nested2.date: \
+	$(date0s_subdir)intermod_user_equality_nested2.date0
 
 check:	objs
 

-- 
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