[m-rev.] trivial diff: minor cleanup in scripts/mmake.in

Fergus Henderson fjh at cs.mu.OZ.AU
Tue Mar 20 13:09:23 AEDT 2001


Estimated hours taken: 0.25
Branches: main

scripts/mmake.in:
	Delete some accidentally duplicated code.
	The code for handling `--no-use-subdirs' was there twice.

Workspace: /home/hg/fjh/mercury
Index: scripts/mmake.in
===================================================================
RCS file: /home/mercury1/repository/mercury/scripts/mmake.in,v
retrieving revision 1.32
diff -u -d -u -2 -0 -r1.32 mmake.in
--- scripts/mmake.in	2001/01/17 09:16:51	1.32
+++ scripts/mmake.in	2001/03/20 01:59:32
@@ -103,44 +103,40 @@
 			;;
 		--no-use-subdirs)
 			use_subdirs=no
 			shift
 			;;
 		--target)
 			case "$2" in
 				asm)	target_asm=yes ;;
 				c)	target_asm=no ;;
 				il)	# XXX we should do something
 					# sensible for `--target il'
 					echo "$0: warning: \`--target il'"
 						"option not supported." 1>&2
 					target_asm=no ;;
 				*)	echo "$0: invalid argument to" \
 						"\`--target' option" 1>&2
 					exit 1 ;;
 			esac
 			shift; shift
 			;;
-		--no-use-subdirs)
-			use_subdirs=no
-			shift
-			;;
 		-s|--save-makefile)
 			save_makefile=true
 			MMAKE="$MMAKE $1"
 			shift
 			;;

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
                                    |  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