mirror of
https://github.com/c-cube/iter.git
synced 2025-12-06 03:05:29 -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
|
||||
*.docdir
|
||||
*.html
|
||||
man/
|
||||
|
|
|
|||
8
Makefile
8
Makefile
|
|
@ -8,6 +8,10 @@ INSTALL = $(LIB) sequence.mli
|
|||
all:
|
||||
ocamlbuild $(TARGETS) $(DOC)
|
||||
|
||||
doc: all
|
||||
mkdir -p man/man3/
|
||||
ocamlfind ocamldoc -I _build/ *.ml{,i} -man -d man/man3/
|
||||
|
||||
benchs: all
|
||||
ocamlbuild -use-ocamlfind -pkg bench -pkg unix tests/benchs.native \
|
||||
tests/simple_bench.native
|
||||
|
|
@ -15,10 +19,10 @@ benchs: all
|
|||
tests:
|
||||
ocamlbuild -use-ocamlfind -pkg oUnit tests/run_tests.native
|
||||
|
||||
install: all
|
||||
install: all doc
|
||||
ocamlfind install $(NAME) META $(INSTALL)
|
||||
|
||||
push_doc: all
|
||||
push_doc: all doc
|
||||
scp -r sequence.docdir/ cedeela.fr:~/simon/root/software/sequence/
|
||||
|
||||
clean:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue