Skip to content

Commit

Permalink
Add HTML target to try pages pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
robertoaloi authored and happi committed Apr 9, 2017
1 parent 57a0287 commit c524127
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ adocs = book.asciidoc \
code/memory_chapter/src/share.erl


all: beam-book.pdf
all: beam-book.pdf book.html

book-revhistory.xml: .git hg2revhistory.xsl
./gitlog.sh git-log.xml $@
Expand All @@ -40,6 +40,8 @@ beam-book-from-ab.xml: $(adocs)\
beam-book.pdf: beam-book-from-ab.xml book-revhistory.xml
dblatex beam-book-from-ab.xml -o $@

book.html:
asciidoc --backend=html5 --doctype=book book.asciidoc

# $(subst .asciidoc,.html, $(adocs)): %.html: %.asciidoc
# asciidoc -a icons -a toc2 $<
Expand Down

0 comments on commit c524127

Please sign in to comment.