Skip to content

Commit

Permalink
Add (very basic) man pages for opam-mk-repo and opam-check
Browse files Browse the repository at this point in the history
This should fix ocaml#432
  • Loading branch information
samoht committed Feb 20, 2013
1 parent cd71361 commit 3ee3b73
Show file tree
Hide file tree
Showing 5 changed files with 79 additions and 1 deletion.
5 changes: 4 additions & 1 deletion doc/Makefile
Expand Up @@ -9,7 +9,10 @@ man:
rm man/*
$(OPAM) $(HELPFMT) > man/opam.1
for i in $(TOPICS); do\
$(OPAM) $$i $(HELPFMT) > man/opam-$$i.1; \
$(OPAM) $$i $(HELPFMT) > man/opam-$$i.1;\
done
for i in $(shell basename -s .md $(shell ls man-ext/)); do\
pandoc -t man man-ext/$$i.md > man/$$i.1;\
done

pdf:
Expand Down
23 changes: 23 additions & 0 deletions doc/man-ext/opam-check.md
@@ -0,0 +1,23 @@
% OPAM(1) opam 0.9.3 | OPAM Manual
% OCamlPro
% 20/02/2013

# NAME

opam-check - a Tool check that OPAM repositories are consistent

# DESCRIPTION

See *opam-check --help* for me information.

# SEE ALSO

**opam**(1)

# LINKS

* **http://opam.ocamlpro.com**

# OPAM

Part of the opam(1) suite
22 changes: 22 additions & 0 deletions doc/man-ext/opam-mk-repo.md
@@ -0,0 +1,22 @@
% OPAM(1) opam 0.9.3 | OPAM Manual
% OCamlPro
% 20/02/2013

# NAME

opam-mk-repo - a Tool to Build OPAM Repositories

# DESCRIPTION

See *opam-mk-repo --help* for me information.
# SEE ALSO

**opam**(1)

# LINKS

* **http://opam.ocamlpro.com**

# OPAM

Part of the opam(1) suite
15 changes: 15 additions & 0 deletions doc/man/opam-check.1
@@ -0,0 +1,15 @@
.SH NAME
.PP
opam-check - a Tool check that OPAM repositories are consistent
.SH DESCRIPTION
.PP
See \f[I]opam-check --help\f[] for me information.
.SH SEE ALSO
.PP
\f[B]opam\f[](1)
.SH LINKS
.IP \[bu] 2
\f[B]http://opam.ocamlpro.com\f[]
.SH OPAM
.PP
Part of the opam(1) suite
15 changes: 15 additions & 0 deletions doc/man/opam-mk-repo.1
@@ -0,0 +1,15 @@
.SH NAME
.PP
opam-mk-repo - a Tool to Build OPAM Repositories
.SH DESCRIPTION
.PP
See \f[I]opam-mk-repo --help\f[] for me information.
# SEE ALSO
.PP
\f[B]opam\f[](1)
.SH LINKS
.IP \[bu] 2
\f[B]http://opam.ocamlpro.com\f[]
.SH OPAM
.PP
Part of the opam(1) suite

0 comments on commit 3ee3b73

Please sign in to comment.