[m-dev.] diff: fix --use-subdirs problem with tests/warnings/Mmakefile

Fergus Henderson fjh at cs.mu.OZ.AU
Sun Mar 26 03:01:43 AEST 2000


Estimated hours taken: 0.25

tests/warnings/Mmakefile:
	Fix a bug that caused the arg_order_rearrangement test case
	to fail when built with --use-subdirs: it was assuming that
	the `.c' file was in the current directory.

Workspace: /home/mercury0/fjh/mercury
Index: tests/warnings/Mmakefile
===================================================================
RCS file: /home/mercury1/repository/tests/warnings/Mmakefile,v
retrieving revision 1.10
diff -u -d -r1.10 Mmakefile
--- tests/warnings/Mmakefile	2000/02/14 00:20:18	1.10
+++ tests/warnings/Mmakefile	2000/03/25 16:57:08
@@ -37,7 +37,7 @@
 	-rm -f $@
 	diff -c $*.exp $*.err > $@
 
-%.res_compile:	%.exp %.c
+%.res_compile:	%.exp $(cs_subdir)%.c
 	-rm -f $@
 	diff -c $*.exp $*.err > $@
 
-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3        |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list