Changeset: 9ed70a5c8d62 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=9ed70a5c8d62
Modified Files:
buildtools/autogen/autogen/codegen.py
Branch: Jun2010
Log Message:
Fix creating dependencies for files created from .mx files.
If a .mx file contains @include lines, they were ignored by autogen.
This patch fixes that. Now, if there are @include lines in a .mx
file, all files generated from that .mx file will depend on the
included file (in addition to the .mx file itself, obviously).
diffs (12 lines):
diff -r 9aa1bc5bdeb7 -r 9ed70a5c8d62 buildtools/autogen/autogen/codegen.py
--- a/buildtools/autogen/autogen/codegen.py Tue Sep 07 17:42:16 2010 +0200
+++ b/buildtools/autogen/autogen/codegen.py Wed Sep 08 17:44:52 2010 +0200
@@ -197,7 +197,7 @@
buf = src.read()
src.close()
buf2 = ""
- if code_extract.has_key(fext):
+ if ext != 'mx' and code_extract.has_key(fext):
epat = end_code_extract[fext]
for pat,newext in code_extract[fext]:
if newext == "." + ext:
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list