[m-rev.] trivial diff: rm *.empty.c *.mempty.c

Fergus Henderson fjh at cs.mu.OZ.AU
Tue Dec 30 21:11:19 AEDT 2003


Estimated hours taken: 0.25
Branches: main

Mmake.common.in:
	Remove the intermediate *.empty.c and *.mempty.c files
	(which are used by the check_namespace target)
	after we have finished using them.

Workspace: /home/jupiter/fjh/ws-jupiter/mercury
Index: Mmake.common.in
===================================================================
RCS file: /home/mercury1/repository/mercury/Mmake.common.in,v
retrieving revision 1.76
diff -u -d -r1.76 Mmake.common.in
--- Mmake.common.in	27 Oct 2003 06:00:27 -0000	1.76
+++ Mmake.common.in	30 Dec 2003 05:34:08 -0000
@@ -371,7 +371,7 @@
 		2> /dev/null | $(AWK) '/[ \t]*#define/ { print $$2; }' | \
 		$(HEADER_CLEAN_FILTER) | sort -u > $*.actual
 	@comm -1 -3 $*.base $*.actual > $@
-	@rm $*.base $*.actual
+	@rm $*.base $*.actual $*.empty.c
 	@if cmp -s /dev/null $@; then \
 		true; \
 	else \
@@ -393,7 +393,7 @@
 		grep -v -e `echo $(subst .check.mmacros,,$@) | tr '[a-z]' '[A-Z]'`_DECL_GUARD | \
 		$(HEADER_CLEAN_FILTER) | sort -u > $*.mactual
 	@comm -1 -3 $*.mbase $*.mactual > $@
-	@rm $*.mbase $*.mactual
+	@rm $*.mbase $*.mactual $*.mempty.c
 	@if cmp -s /dev/null $@; then \
 		true; \
 	else \

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
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