[m-rev.] diff: fix installation of erlang grade in srcdist

Julien Fischer juliensf at csse.unimelb.edu.au
Mon May 17 01:01:06 AEST 2010


Branches: main, 10.04

Fix a problem that prevented the erlang grade from being installed with
the source distribution when the grades to install are specified using
configure's --enable-libgrades option.

scripts/canonical_grade.sh-subr:
 	Handle the case where the target is "erlang" when constructing
 	the canonicalized grade string.  (The erlang target doesn't fit
 	in with the other cases, it needs to be handled separately.)

Julien.

Index: scripts/canonical_grade.sh-subr
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/scripts/canonical_grade.sh-subr,v
retrieving revision 1.24
diff -u -r1.24 canonical_grade.sh-subr
--- scripts/canonical_grade.sh-subr	11 Feb 2010 04:36:11 -0000	1.24
+++ scripts/canonical_grade.sh-subr	16 May 2010 14:47:18 -0000
@@ -37,6 +37,10 @@
  	false)		;;
  esac

+case $target in
+	erlang)		GRADE="erlang" ;;
+esac
+
  case $highlevel_code,$highlevel_data,$GRADE,$target in
  	true,true,none,*)
  		case $target in

--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list