mirror of
https://github.com/c-cube/iter.git
synced 2025-12-06 11:15:32 -05:00
generate man pages in man/
This commit is contained in:
parent
049fe898ce
commit
2b74a6aafb
2 changed files with 7 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -3,3 +3,4 @@ _build
|
||||||
*.native
|
*.native
|
||||||
*.docdir
|
*.docdir
|
||||||
*.html
|
*.html
|
||||||
|
man/
|
||||||
|
|
|
||||||
8
Makefile
8
Makefile
|
|
@ -8,6 +8,10 @@ INSTALL = $(LIB) sequence.mli
|
||||||
all:
|
all:
|
||||||
ocamlbuild $(TARGETS) $(DOC)
|
ocamlbuild $(TARGETS) $(DOC)
|
||||||
|
|
||||||
|
doc: all
|
||||||
|
mkdir -p man/man3/
|
||||||
|
ocamlfind ocamldoc -I _build/ *.ml{,i} -man -d man/man3/
|
||||||
|
|
||||||
benchs: all
|
benchs: all
|
||||||
ocamlbuild -use-ocamlfind -pkg bench -pkg unix tests/benchs.native \
|
ocamlbuild -use-ocamlfind -pkg bench -pkg unix tests/benchs.native \
|
||||||
tests/simple_bench.native
|
tests/simple_bench.native
|
||||||
|
|
@ -15,10 +19,10 @@ benchs: all
|
||||||
tests:
|
tests:
|
||||||
ocamlbuild -use-ocamlfind -pkg oUnit tests/run_tests.native
|
ocamlbuild -use-ocamlfind -pkg oUnit tests/run_tests.native
|
||||||
|
|
||||||
install: all
|
install: all doc
|
||||||
ocamlfind install $(NAME) META $(INSTALL)
|
ocamlfind install $(NAME) META $(INSTALL)
|
||||||
|
|
||||||
push_doc: all
|
push_doc: all doc
|
||||||
scp -r sequence.docdir/ cedeela.fr:~/simon/root/software/sequence/
|
scp -r sequence.docdir/ cedeela.fr:~/simon/root/software/sequence/
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue