[m-dev.] diff: fix bug in Mmake.rules

Simon TAYLOR stayl at cs.mu.OZ.AU
Fri May 19 11:56:15 AEST 2000


Estimated hours taken: 0.1

scripts/Mmake.rules:
	Fix a bug in Fergus' last change which broke the
	`lib%.install_grades' target. Run `mmake <module>.depend'
	rather than `mmake lib<module>.depend'.

Index: Mmake.rules
===================================================================
RCS file: /home/mercury1/repository/mercury/scripts/Mmake.rules,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -u -r1.79 -r1.80
--- Mmake.rules	2000/05/17 12:07:19	1.79
+++ Mmake.rules	2000/05/19 01:54:53	1.80
@@ -361,7 +361,7 @@
 		*.a *.so tmp_dir || true; } && \
 	for grade in x $(ALL_LIBGRADES); do \
 		if [ "$$grade" != "x" ]; then \
-			$(MMAKE) GRADE=$$grade lib$*.depend || \
+			$(MMAKE) GRADE=$$grade $*.depend || \
 				exit 1; \
 			$(MMAKE) GRADE=$$grade lib$*.install_library || \
 				exit 1; \
@@ -382,7 +382,7 @@
 		tmp_dir || true; } && \
 	for grade in x $(ALL_LIBGRADES); do \
 		if [ "$$grade" != "x" ]; then \
-			$(MMAKE) GRADE=$$grade lib$*.depend || \
+			$(MMAKE) GRADE=$$grade $*.depend || \
 				exit 1; \
 			$(MMAKE) GRADE=$$grade lib$*.install_split_library || \
 				exit 1; \
--------------------------------------------------------------------------
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