[m-rev.] diff: make .erl files depend on indirect imports

Peter Wang novalazy at gmail.com
Wed Sep 26 11:42:39 AEST 2007


Estimated hours taken: 0.1
Branches: main

compiler/make.dependencies.m:
	Make .erl files depend on the Erlang header files of indirectly
	imported modules.

Index: compiler/make.dependencies.m
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/compiler/make.dependencies.m,v
retrieving revision 1.42
diff -u -r1.42 make.dependencies.m
--- compiler/make.dependencies.m	28 Aug 2007 05:32:32 -0000	1.42
+++ compiler/make.dependencies.m	26 Sep 2007 01:40:47 -0000
@@ -209,6 +209,7 @@
         module_target_erlang_code `of` self,
         % The `.erl' file will -include the header files of imported modules.
         module_target_erlang_header `of` direct_imports,
+        module_target_erlang_header `of` indirect_imports,
         module_target_erlang_header `of` intermod_imports
     ]).
 target_dependencies(Globals, module_target_asm_code(_)) =

--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list