trivial diff: tests/Mmakefile: put vars in quotes

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Feb 5 13:50:43 AEDT 1998


tests/hard_coded/Mmakefile:
	Fix another bug in the handling of the `typeclasses'
	subdirectory: ensure that variables are quoted when
	passing them down to make subdirectories, so that it
	works for settings such as EXTRA_MCFLAGS="-O2 --opt-space"
	which contain embedded spaces.

Index: Mmakefile
===================================================================
RCS file: /home/mercury1/repository/tests/hard_coded/Mmakefile,v
retrieving revision 1.14
diff -u -u -r1.14 Mmakefile
--- Mmakefile	1998/02/04 04:36:57	1.14
+++ Mmakefile	1998/02/05 02:46:37
@@ -93,9 +93,9 @@
 #-----------------------------------------------------------------------------#
 
 SUBDIR_MMAKE = mmake $(MMAKEFLAGS) \
-			GRADE=$(GRADE) \
-			EXTRA_CFLAGS=$(EXTRA_CFLAGS) \
-			EXTRA_MCFLAGS=$(EXTRA_MCFLAGS)
+			GRADE='$(GRADE)' \
+			EXTRA_CFLAGS='$(EXTRA_CFLAGS)' \
+			EXTRA_MCFLAGS='$(EXTRA_MCFLAGS)'
 
 dep:	$(DEPS)
 	for dir in $(SUBDIRS); do \

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



More information about the developers mailing list