[m-dev.] diff: fix browser dependency problem

Peter Ross petdr at cs.mu.OZ.AU
Tue Feb 22 12:35:58 AEDT 2000


Hi,


===================================================================


Estimated hours taken: 0.5

Mmakefile:
    dep_browser should depend on the mdb.dep file.
    This fixes a bug where the current rotd would fall over attempting
    to make the dependencies in the browser directory before a version
    of the compiler existed!


Index: Mmakefile
===================================================================
RCS file: /home/staff/zs/imp/mercury/Mmakefile,v
retrieving revision 1.47
diff -u -r1.47 Mmakefile
--- Mmakefile	2000/01/06 04:37:53	1.47
+++ Mmakefile	2000/02/22 01:02:16
@@ -47,9 +47,9 @@
 	cd library && $(SUBDIR_MMAKE) depend
 
 .PHONY: dep_browser
-dep_browser: browser/$(deps_subdir)browser_library.dep
+dep_browser: browser/$(deps_subdir)mdb.dep
 
-browser/$(deps_subdir)browser_library.dep:
+browser/$(deps_subdir)mdb.dep:
 	cd browser && $(SUBDIR_MMAKE) depend
 
 .PHONY: dep_compiler

----
Peter Ross
PhD Student University of Melbourne
http://www.cs.mu.oz.au/~petdr/
--------------------------------------------------------------------------
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