add manual page for valac written by Marc-André Lureau update
authorJürg Billeter <j@bitron.ch>
Tue, 3 Apr 2007 12:21:48 +0000 (12:21 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Tue, 3 Apr 2007 12:21:48 +0000 (12:21 +0000)
2007-04-03  Jürg Billeter  <j@bitron.ch>

* doc/valac.1, doc/Makefile.am: add manual page for valac written by
  Marc-André Lureau
* Makefile.am, configure.ac: update

svn path=/trunk/; revision=273

vala/ChangeLog
vala/Makefile.am
vala/configure.ac
vala/doc/Makefile.am [new file with mode: 0644]
vala/doc/valac.1 [new file with mode: 0644]

index 82e1254..08b6ee5 100644 (file)
@@ -1,5 +1,11 @@
 2007-04-03  Jürg Billeter  <j@bitron.ch>
 
+       * doc/valac.1, doc/Makefile.am: add manual page for valac written by
+         Marc-André Lureau
+       * Makefile.am, configure.ac: update
+
+2007-04-03  Jürg Billeter  <j@bitron.ch>
+
        * vala/scanner.l, vala/parser.y, vala/valasemanticanalyzer.vala,
          vala/valatypereference.vala: support declaration of local arrays
        * tests/test-022.vala: test local array declaration
index 73c8fb1..4d69c0b 100644 (file)
@@ -6,6 +6,7 @@ SUBDIRS = \
        compiler \
        vapi \
        tests \
+       doc \
        $(NULL)
 
 pkgconfigdir = $(libdir)/pkgconfig
index 42f8bae..d726d3d 100644 (file)
@@ -38,6 +38,7 @@ AC_CONFIG_FILES([Makefile
            vala/Makefile
            compiler/Makefile
            vapi/Makefile
-           tests/Makefile])
+           tests/Makefile
+           doc/Makefile])
 
 AC_OUTPUT
diff --git a/vala/doc/Makefile.am b/vala/doc/Makefile.am
new file mode 100644 (file)
index 0000000..041d0c8
--- /dev/null
@@ -0,0 +1,2 @@
+dist_man_MANS=valac.1
+
diff --git a/vala/doc/valac.1 b/vala/doc/valac.1
new file mode 100644 (file)
index 0000000..628ebe0
--- /dev/null
@@ -0,0 +1,51 @@
+.TH "valac" 1
+.SH NAME
+valac \- compiler that translates Vala source code into C source and header files
+.SH SYNOPSIS
+.B valac
+[OPTION...] FILE...
+.SH DESCRIPTION
+Vala  is  a  new  programming  language  that  aims  to  bring  modern
+programming language features to GNOME developers without imposing any
+additional  runtime requirements  and  without using  a different  ABI
+compared to applications and libraries written in C.
+
+valac, the Vala compiler, is a self-hosting compiler that translates
+Vala source code into C source and header files. It uses the GObject
+type system to create classes and interfaces declared in the Vala
+source code. It's also planned to generate GIDL files when
+gobject-introspection is ready. 
+.SH OPTIONS
+.TP
+.B \---help
+Show help options
+.TP
+.B \---vapidir=DIRECTORY...
+Look for package bindings in DIRECTORY
+.TP
+.B \---pkg=PACKAGE...
+Include binding for PACKAGE
+.TP
+.B \---library=NAME                  
+Library name
+.TP
+.B \--d, --directory=DIRECTORY       
+Output directory
+.TP
+.B \---version                       
+Display version number
+.TP
+.B \---disable-memory-management     
+Disable memory management
+.SH FEATURES
+Interfaces, Properties, Signals, Foreach, Lambda expressions, Type
+inference for local variables, Assisted memory management
+.SH PLANNED OR PARTIAL
+Generics, Non-null types, Exception handling
+.SH HOMEPAGE AND BUG REPORT
+http://live.gnome.org/Vala
+.SH AUTHORS
+Jurg Billeter, Raffaele Sandrini.
+
+Man page written to conform with Debian by Marc-Andre Lureau.
+