Skip to content

Commit

Permalink
Add HTML doc generation
Browse files Browse the repository at this point in the history
  • Loading branch information
yfyf committed Dec 11, 2013
1 parent c5d54e4 commit e3e2c47
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 6 deletions.
5 changes: 1 addition & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
*#*
*.glob
*~
*.vo
/doc/
4 changes: 4 additions & 0 deletions src/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*#*
*.glob
*~
*.vo
19 changes: 17 additions & 2 deletions src/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,22 @@
VERNACS=Untyped.v Subst.v
.PHONY: all doc

VERNACS=Untyped.v Subst.v Beta.v
VERNOCS=$(subst .v,.vo,$(VERNACS))

all: $(VERNOCS)
DOCDIR=../doc

all: $(VERNOCS) doc

doc: $(DOCDIR)/index.html

$(DOCDIR)/index.html: $(VERNOCS)
@mkdir -p $(DOCDIR)
coqdoc \
--utf8 \
--interpolate \
--parse-comments \
-d $(DOCDIR) \
$(VERNACS)

%.vo: %.v
coqc $<

0 comments on commit e3e2c47

Please sign in to comment.