Commit b6d85419 authored by yoogx's avatar yoogx

* Add man pages to repository, add rule to rebuild them

parent 65eb07e9
......@@ -73,7 +73,7 @@ ocarina_TEXINFOS=$(GUIDE_TEXIFILES)
man_MANS = ocarina-config.1 ocarina.1
all-local: $(GUIDE).html $(GUIDE).pdf ocarina-config.1
all-local: $(GUIDE).html $(GUIDE).pdf
$(GUIDE).html: $(IMAGES) $(GUIDE_TEXIFILES)
$(MAKEINFO) --css-include=$(srcdir)/ocarina.css --html $(srcdir)/$(GUIDE).texi -o $(GUIDE).html
......@@ -182,13 +182,12 @@ sed-stamp: $(top_srcdir)/tools/gensedfile $(KW_FILES)
###############################################################################
# Building manpages
ocarina-config.1: $(top_srcdir)/ocarina-config.in
build_man: $(top_srcdir)/ocarina-config.in
chmod 755 $(top_builddir)/ocarina-config
help2man --no-discard-stderr $(top_builddir)/ocarina-config > $(top_builddir)/doc/ocarina-config.1
echo ".HEAD \"<link rel=\"\"stylesheet\"\" type=\"\"text/css\"\" href=\"\"ocarina.css\"\" >\"" >> $(top_builddir)/doc/ocarina-config.1
groff -man -Thtml $(top_builddir)/doc/ocarina-config.1 > $(top_builddir)/doc/ocarina-config.html
ocarina.1:
-help2man --no-discard-stderr --help-option="-help" --version-option="-V" $(top_srcdir)/src/main/ocarina > $(top_builddir)/doc/ocarina.1
echo ".HEAD \"<link rel=\"\"stylesheet\"\" type=\"\"text/css\"\" href=\"\"ocarina.css\"\" >\"" >> $(top_builddir)/doc/ocarina.1
groff -man -Thtml $(top_builddir)/doc/ocarina.1 > $(top_builddir)/doc/ocarina_man.html
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.40.10.
.TH OCARINA "1" "avril 2013" "Ocarina 2.0w" "User Commands"
.SH NAME
Ocarina \- manual page for Ocarina 2.0w
.SH SYNOPSIS
.B ocarina-config
[\fIOPTIONS\fR]
.SH OPTIONS
.IP
No option:
.IP
Output all the flags (compiler and linker) required
to compile your program.
.IP
[\-\-prefix[=DIR]]
.IP
Output the directory in which Ocarina architecture\-independent
.IP
files are installed, or set this directory to DIR.
.IP
[\-\-exec\-prefix[=DIR]]
.IP
Output the directory in which Ocarina architecture\-dependent
.IP
files are installed, or set this directory to DIR.
.IP
[\-\-version|\-v]
.IP
Output the version of Ocarina.
.IP
[\-\-config]
.IP
Output Ocarina's configuration parameters.
.IP
[\-\-runtime[=<Runtime_Name>]]
.IP
Checks the validity and the presence of the given runtime and
then, outputs its path. Only one runtime can be requested at
a time. If no runtime name is given, outputs the root directory
of all runtimes.
.IP
[\-\-libs]
.IP
Output the linker flags to use for Ocarina.
.IP
[\-\-projects]
.IP
Output the path to GNAT Project files for Ocarina
.IP
[\-\-properties]
.IP
Output the location of the standard property file.
.IP
[\-\-resources]
.IP
Output the location of resource files
(typically the standard properties)
.IP
[\-\-cflags]
.IP
Output the compiler flags to use for Ocarina.
.IP
[\-\-help]
.IP
Output this message
.SH "SEE ALSO"
The full documentation for
.B Ocarina
is maintained as a Texinfo manual. If the
.B info
and
.B Ocarina
programs are properly installed at your site, the command
.IP
.B info Ocarina
.PP
should give you access to the complete manual.
.HEAD "<link rel=""stylesheet"" type=""text/css"" href=""ocarina.css"" >"
.HEAD "<link rel=""stylesheet"" type=""text/css"" href=""ocarina.css"" >"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment