Skip to content

Commit

Permalink
Minor cleanup, remove hg2revhistory
Browse files Browse the repository at this point in the history
  • Loading branch information
robertoaloi committed Apr 12, 2017
1 parent 867cc6e commit 233ab31
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 131 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,8 @@ opcodes_doc.asciidoc
.#.gitignore
genop.tab
book.html
chapters/contributors.txt
chapters/contributors.txt
xml/*.png
xml/*.png.md5
/*.png
/*.png.md5
37 changes: 17 additions & 20 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,55 +1,53 @@

ABFLAGS = --backend=docbook --doctype=book
adocs = book.asciidoc \
chapters/beam.asciidoc \
chapters/beam_instructions.asciidoc \
chapters/beam.asciidoc \
chapters/beam_instructions.asciidoc \
chapters/beam_internal_instructions.asciidoc \
chapters/beam_modules.asciidoc \
chapters/building.asciidoc \
chapters/c.asciidoc \
chapters/calls.asciidoc \
chapters/compiler.asciidoc \
chapters/compiler.asciidoc \
chapters/contributors.txt \
chapters/introduction.asciidoc \
chapters/memory.asciidoc \
chapters/introduction.asciidoc \
chapters/memory.asciidoc \
chapters/opcodes_doc.asciidoc \
chapters/preface.asciidoc \
chapters/processes.asciidoc \
chapters/scheduling.asciidoc \
chapters/type_system.asciidoc \
chapters/ap-beam_instructions.asciidoc \
chapters/ap-code_listings.asciidoc \
chapters/type_system.asciidoc \
chapters/ap-beam_instructions.asciidoc \
chapters/ap-code_listings.asciidoc \
code/beam_modules_chapter/src/beamfile.erl \
code/compiler_chapter/json_tokens.png \
code/compiler_chapter/src/json_parser.erl \
code/compiler_chapter/src/json_test.erl \
code/compiler_chapter/src/json_tokens.xrl \
code/compiler_chapter/src/test.json \
code/compiler_chapter/json_tokens.png \
code/compiler_chapter/src/json_parser.erl \
code/compiler_chapter/src/json_test.erl \
code/compiler_chapter/src/json_tokens.xrl \
code/compiler_chapter/src/test.json \
code/compiler_chapter/src/world.erl \
code/memory_chapter/src/lb.erl \
code/memory_chapter/src/send.erl \
code/memory_chapter/src/share.erl


all: beam-book.pdf book.html

chapters/contributors.txt: .git
./bin/gitlog.sh $@
./bin/gitlog.sh $@

xml/beam-book-from-ab.xml: $(adocs)
asciidoc $(ABFLAGS) -o $@ book.asciidoc

beam-book.pdf: xml/beam-book-from-ab.xml
dblatex xml/beam-book-from-ab.xml -o $@
dblatex xml/beam-book-from-ab.xml -o $@

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

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

# index.html: *.asciidoc
# asciidoc -o index.html -a icons -a toc2 book.asciidoc
# asciidoc -o index.html -a icons -a toc2 book.asciidoc

code/book/ebin/generate_op_doc.beam: code/book/src/generate_op_doc.erl
erlc -o $(dir $@) $<
Expand All @@ -63,4 +61,3 @@ genop.tab:

clean:
rm -f beam-book.pdf book.html

110 changes: 0 additions & 110 deletions hg2revhistory.xsl

This file was deleted.

0 comments on commit 233ab31

Please sign in to comment.