[m-rev.] diff: add missing : to .PHONY rule in .dep file

Peter Ross pro at missioncriticalit.com
Thu Feb 6 23:17:38 AEDT 2003


Hi,


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


Estimated hours taken: 0.1
Branches: main

compiler/modules.m:
	s/.PHONY/.PHONY :/ so that we generate a valid make rule.


Index: modules.m
===================================================================
RCS file: /home/mercury1/repository/mercury/compiler/modules.m,v
retrieving revision 1.262
diff -u -r1.262 modules.m
--- modules.m	28 Jan 2003 14:51:58 -0000	1.262
+++ modules.m	6 Feb 2003 12:13:21 -0000
@@ -4234,7 +4234,7 @@
 
 	io__write_strings(DepStream, [
 			"ifneq ($(EXT_FOR_EXE),)\n",
-			".PHONY	", ExeFileName, "\n",
+			".PHONY	: ", ExeFileName, "\n",
 			ExeFileName, " : ", ExeFileName, "$(EXT_FOR_EXE)\n",
 			"endif\n"
 	]),

--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list