[MLton-commit] r4073

Stephen Weeks MLton@mlton.org
Tue, 6 Sep 2005 14:14:55 -0700


Added guide to install-docs target.

----------------------------------------------------------------------

U   mlton/trunk/Makefile
U   mlton/trunk/doc/README
A   mlton/trunk/package/debian/mlton.doc-base
U   mlton/trunk/package/debian/mlton.postinst

----------------------------------------------------------------------

Modified: mlton/trunk/Makefile
===================================================================
--- mlton/trunk/Makefile	2005-09-06 19:36:07 UTC (rev 4072)
+++ mlton/trunk/Makefile	2005-09-06 21:14:53 UTC (rev 4073)
@@ -403,15 +403,14 @@
 .PHONY: install-docs
 install-docs:
 	mkdir -p $(TDOC)
-	(									\
-		cd $(SRC)/doc &&						\
-		$(CP) changelog examples license README $(TDOC)/		\
+	(								\
+		cd $(SRC)/doc &&					\
+		$(CP) changelog examples guide license README $(TDOC)/	\
 	)
-	(									\
-		cd $(SRC)/util &&						\
-		$(CP) cmcat cm2mlb $(TDOC)/					\
+	(								\
+		cd $(SRC)/util &&					\
+		$(CP) cmcat cm2mlb $(TDOC)/				\
 	)
-	rm -rf $(TDOC)/user-guide
 	for f in callcc command-line hello-world same-fringe signals	\
 			size taut thread1 thread2 thread-switch timeout \
 		; do 							\

Modified: mlton/trunk/doc/README
===================================================================
--- mlton/trunk/doc/README	2005-09-06 19:36:07 UTC (rev 4072)
+++ mlton/trunk/doc/README	2005-09-06 21:14:53 UTC (rev 4073)
@@ -2,8 +2,9 @@
 programming language. MLton has the following features.
 
    + Runs on a variety of platforms.
-     o X86: Linux, Cygwin/Windows, FreeBSD, and NetBSD.
-     o Sparc: Solaris.
+     o PowerPC: Debian, Mac OSX
+     o X86: Linux, Cygwin/Windows, FreeBSD, NetBSD, OpenBSD
+     o Sparc: Debian, Solaris.
    + Generates standalone executables with excellent running times.
    + Supports the full SML 97 language.
    + A complete basis library matching the latest specification.
@@ -34,8 +35,8 @@
         cm2mlb/                 a utility for producing ML Basis programs in SML/NJ
         cmcat/                  a utility for producing whole programs in SML/NJ
         examples/               example SML programs
+	guide/			MLton guide
         license/                license information
         mllex.ps.gz             user guide for mllex lexer generator
         mlyacc.ps.gz            user guide for mlyacc parser generator
-        user-guide/             html user guide
-        user-guide.ps.gz        user guide for MLton
+

Added: mlton/trunk/package/debian/mlton.doc-base
===================================================================
--- mlton/trunk/package/debian/mlton.doc-base	2005-09-06 19:36:07 UTC (rev 4072)
+++ mlton/trunk/package/debian/mlton.doc-base	2005-09-06 21:14:53 UTC (rev 4073)
@@ -0,0 +1,10 @@
+Document: mlton
+Title: MLton Guide
+Author: The MLton Team
+Abstract: This document describes how to use MLton, a whole-program
+ optimizing compiler for the Standard ML Programming language.
+Section: Apps/Programming
+
+Format: HTML
+Index: /usr/share/doc/mlton/user-guide/Home
+Files: /usr/share/doc/mlton/user-guide/*.html

Modified: mlton/trunk/package/debian/mlton.postinst
===================================================================
--- mlton/trunk/package/debian/mlton.postinst	2005-09-06 19:36:07 UTC (rev 4072)
+++ mlton/trunk/package/debian/mlton.postinst	2005-09-06 21:14:53 UTC (rev 4073)
@@ -3,7 +3,7 @@
 set -e
 
 if [ "$1" = configure ] && which install-docs >/dev/null 2>&1; then
-	for f in mllex mlyacc; do
+	for f in mllex mlton mlyacc; do
 		install-docs -i /usr/share/doc-base/$f
 	done
 fi