mirror of
https://github.com/c-cube/iter.git
synced 2025-12-06 11:15:32 -05:00
generation of sequence.install file
This commit is contained in:
parent
2b74a6aafb
commit
e2a2f530ed
2 changed files with 18 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -4,3 +4,4 @@ _build
|
||||||
*.docdir
|
*.docdir
|
||||||
*.html
|
*.html
|
||||||
man/
|
man/
|
||||||
|
sequence.install
|
||||||
|
|
|
||||||
19
Makefile
19
Makefile
|
|
@ -5,13 +5,28 @@ TARGETS = sequence.cma sequence.cmxa sequence.cmi sequence.a
|
||||||
LIB = $(addprefix _build/, $(TARGETS))
|
LIB = $(addprefix _build/, $(TARGETS))
|
||||||
INSTALL = $(LIB) sequence.mli
|
INSTALL = $(LIB) sequence.mli
|
||||||
|
|
||||||
all:
|
bin:
|
||||||
ocamlbuild $(TARGETS) $(DOC)
|
ocamlbuild $(TARGETS) $(DOC)
|
||||||
|
|
||||||
doc: all
|
doc: bin
|
||||||
mkdir -p man/man3/
|
mkdir -p man/man3/
|
||||||
ocamlfind ocamldoc -I _build/ *.ml{,i} -man -d man/man3/
|
ocamlfind ocamldoc -I _build/ *.ml{,i} -man -d man/man3/
|
||||||
|
|
||||||
|
install_file:
|
||||||
|
@rm sequence.install || true
|
||||||
|
@echo 'doc: [' >> sequence.install
|
||||||
|
@for m in $(wildcard sequence.docdir/*.html) ; do \
|
||||||
|
echo ?"$${m}" >> sequence.install; \
|
||||||
|
done
|
||||||
|
@echo ']' >> sequence.install
|
||||||
|
@echo 'man: [' >> sequence.install
|
||||||
|
@for m in $(wildcard man/man3/[A-Z]*.3o) ; do \
|
||||||
|
echo ?"$${m}" >> sequence.install; \
|
||||||
|
done
|
||||||
|
@echo ']' >> sequence.install
|
||||||
|
|
||||||
|
all: bin doc install_file
|
||||||
|
|
||||||
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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue