Skip to content

Commit

Permalink
Merge pull request #31 from crystal-jp/fix-title
Browse files Browse the repository at this point in the history
タイトルを『入門 Crystal』に修正
  • Loading branch information
makenowjust authored Sep 10, 2018
2 parents 6267f14 + 2c747bf commit ae72c62
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 16 deletions.
23 changes: 11 additions & 12 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,10 @@ ASCIIDOCTOR_HTML_FLAGS = \
-r asciidoctor-rouge \
$(ASCIIDOCTOR_ROUGE_FLAGS)

BUILD_PDFS = \
$(PREFIX)/techbookfest4-print.pdf \
$(PREFIX)/techbookfest4-web.pdf
BUILD_HTML = $(PREFIX)/techbookfest4.html
BUILD_FILES = $(BUILD_PDFS) $(BUILD_HTML)
PRINT_PDF = $(PREFIX)/introducing-crystal-print.pdf
WEB_PDF = $(PREFIX)/introducing-crystal-web.pdf
PDFS = $(PRINT_PDF) $(WEB_PDF)
HTML = $(PREFIX)/introducing-crystal.html

ADOCS = \
index.adoc \
Expand All @@ -38,21 +37,21 @@ ASSETS = $(shell find [0-9][0-9]-* -not -name '*.adoc')
CRS = $(EXAMPLES) $(PROJECT_CRS)

.PHONY: all
all: $(BUILD_FILES)
all: pdf html

.PHONY: pdf print-pdf web-pdf html
pdf: print-pdf web-pdf
print-pdf: $(PREFIX)/techbookfest4-print.pdf
web-pdf: $(PREFIX)/techbookfest4-web.pdf
html: $(PREFIX)/techbookfest4.html
print-pdf: $(PRINT_PDF)
web-pdf: $(WEB_PDF)
html: $(HTML)

$(PREFIX)/techbookfest4-print.pdf: $(ADOCS) $(ASSETS)
$(PRINT_PDF): $(ADOCS) $(ASSETS)
bundle exec asciidoctor-pdf $(ASCIIDOCTOR_PRINT_PDF_FLAGS) -o $@ $<

$(PREFIX)/techbookfest4-web.pdf: $(ADOCS) $(ASSETS)
$(WEB_PDF): $(ADOCS) $(ASSETS)
bundle exec asciidoctor-pdf $(ASCIIDOCTOR_WEB_PDF_FLAGS) -o $@ $<

$(PREFIX)/techbookfest4.html: $(ADOCS) $(ASSETS)
$(HTML): $(ADOCS) $(ASSETS)
bundle exec asciidoctor $(ASCIIDOCTOR_HTML_FLAGS) -o $@ $<

.PHONY: lint lint-full redpen rubocop crystal-format format backspace
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# techbookfest4
# introducing-crystal

技術書典4で頒布する本を管理するリポジトリです
『入門 Crystal』の原稿を管理するリポジトリです

## 必要なもの

Expand All @@ -21,7 +21,7 @@ $ make

```console
$ ls build
techbookfest4-print.pdf techbookfest4-web.pdf techbookfest4.html
introducing-crystal-print.pdf introducing-crystal-web.pdf introducing-crystal.html
```

それぞれ印刷用の PDF、Web 公開用の PDF、HTML です。
Expand Down
2 changes: 1 addition & 1 deletion index.adoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
= The Crystal Programming Language
= 入門Crystal
crystal-jp (5t111111; arcage; at-grandpa; MakeNowJust; msky026)
:lang: ja
:doctype: book
Expand Down

0 comments on commit ae72c62

Please sign in to comment.