[MLton-commit] r4035

Matthew Fluet MLton@mlton.org
Thu, 25 Aug 2005 08:13:24 -0700


A (stub) mlnlffigen man page
----------------------------------------------------------------------

U   mlton/trunk/Makefile
A   mlton/trunk/man/mlnlffigen.1

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

Modified: mlton/trunk/Makefile
===================================================================
--- mlton/trunk/Makefile	2005-08-25 15:12:18 UTC (rev 4034)
+++ mlton/trunk/Makefile	2005-08-25 15:13:22 UTC (rev 4035)
@@ -378,11 +378,10 @@
 		<$(SRC)/bin/mlton-script >$(TBIN)/mlton
 	chmod a+x $(TBIN)/mlton
 	cd $(BIN) && $(CP) $(LEX) $(NLFFIGEN) $(PROF) $(YACC) $(TBIN)/
-	( cd $(SRC)/man && tar cf - mllex.1 mlprof.1 mlton.1 mlyacc.1 ) | \
+	( cd $(SRC)/man && tar cf - mllex.1 mlnlffigen.1 mlprof.1 mlton.1 mlyacc.1 ) | \
 		( cd $(TMAN)/ && tar xf - )
 	if $(GZIP_MAN); then						\
-		cd $(TMAN) && $(GZIP) mllex.1 mlprof.1 mlton.1		\
-			mlyacc.1;					\
+		cd $(TMAN) && $(GZIP) mllex.1 mlnlffigen.1 mlprof.1 mlton.1 mlyacc.1; \
 	fi
 	case "$(TARGET_OS)" in						\
 	darwin|solaris)							\

Added: mlton/trunk/man/mlnlffigen.1
===================================================================
--- mlton/trunk/man/mlnlffigen.1	2005-08-25 15:12:18 UTC (rev 4034)
+++ mlton/trunk/man/mlnlffigen.1	2005-08-25 15:13:22 UTC (rev 4035)
@@ -0,0 +1,13 @@
+.TH mlnlffigen 1 "August 1, 2005"
+.SH NAME
+\fBmlnlffigen\fP \- glue-code generator for use with the new "NLFFI" foreign function interface for Standard ML and MLton
+.SH SYNOPSIS
+\fBmlnlffigen [option ...] C-file ...\fR
+.SH DESCRIPTION
+.PP
+\fBmlnlffigen\fP takes as input a C source file and produces as output in \fBNLFFI-Generated\fP 
+the glue-code for Standard ML and in \fBNLFFI-Generated\\nlffi-generated.mlb\fP a ML Basis system file.
+
+.SH "SEE ALSO"
+
+.BR mlton (1)