Commits

camlspotter committed 97cb766

release

  • Participants
  • Parent commits 2693f0c
  • Branches ocamlspot

Comments (0)

Files changed (2)

File 0scripts/0MAKERELEASE

 #!/usr/bin/perl
 
-$VERSION="1.05";
-$PURE_OCAML="10f98a71c877";
+$VERSION="1.1";
+$PURE_OCAML="ocaml3112";
 
 `/bin/cp ocamlspot/INSTALL-ocamlspot.txt ocamlspot/BRAIN_DEAD_INSTALL.sh .`;
 
-`hg diff -r $PURE_OCAML -r tip -X "0*" -X ".hg[a-z]*" -X "ocamlspot" | ./0CLEANDIFF > compiler_patch.diff`;
+`hg diff -r $PURE_OCAML -r ocamlspot -X "0*" -X ".hg[a-z]*" -X "ocamlspot" > compiler_patch.diff`;
 
 `cd ocamlspot; make clean`;
 @files = ("INSTALL-ocamlspot.txt", "BRAIN_DEAD_INSTALL.sh", "compiler_patch.diff", "ocamlspot");
 
-$com = sprintf "tar zcvf ocamlspotter-%s_uncleaned.tgz --exclude=\"*~\" %s", $VERSION, join(' ', @files);
+
+$tgz = sprintf "ocamlspotter-%s-tmp.tgz", $VERSION;
+
+$com = sprintf "tar zcvf $tgz --exclude=\"*~\" %s", join(' ', @files);
 
 print STDERR "$com\n";
 `$com`;
+
+mkdir (sprintf "ocamlspotter-%s", $VERSION);
+
+$com = sprintf "(cd ocamlspotter-%s; tar zxvf ../$tgz)", $VERSION;
+`$com`;
+
+unlink "$tgz";
+
+
+
+
+

File ocamlspot/BRAIN_DEAD_INSTALL.sh

 #!/bin/sh
 # No warranty, no question. Just for brain-dead people.
 set -e
-cvs -d :pserver:anoncvs@camlcvs.inria.fr:/caml co -r ocaml3111 ocaml
-mv ocaml/* ocaml/.[a-z]* .
-rmdir ocaml
+svn checkout http://caml.inria.fr/svn/ocaml/release/3.11.2 .
 patch -p1 < compiler_patch.diff
 ./configure
 make core coreboot world