[m-dev.] trivial diff: fix bug with `install_hdrs'

Fergus Henderson fjh at cs.mu.OZ.AU
Sun May 21 12:56:06 AEST 2000


Estimated hours taken: 0.1

compiler/modules.m:
	Fix another bug in my recent change to fix the Mmake rules for
	`make install' for the MLDS back-end: there was a syntax error
	in the generated rules for `mmake lib*.install_hdrs'.

Workspace: /home/pgrad/fjh/ws/hg
Index: compiler/modules.m
===================================================================
RCS file: /home/mercury1/repository/mercury/compiler/modules.m,v
retrieving revision 1.126
diff -u -d -r1.126 modules.m
--- compiler/modules.m	2000/05/17 22:32:23	1.126
+++ compiler/modules.m	2000/05/21 02:52:20
@@ -2960,8 +2960,8 @@
 				"$(", MakeVarName, ".hs) ",
 				"install_lib_dirs\n",
 			"\tfor hdr in $(", MakeVarName, ".hs); do \\\n",
-			"\t	$(INSTALL) $$hdr $(INSTALL_INC_DIR)\\\n",
-			"\t	$(INSTALL) $$hdr $(INSTALL_INT_DIR)\\\n",
+			"\t	$(INSTALL) $$hdr $(INSTALL_INC_DIR); \\\n",
+			"\t	$(INSTALL) $$hdr $(INSTALL_INT_DIR); \\\n",
 			"\tdone\n\n"
 		])
 	;

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