-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from DanielVoogsgerd/makefile
Makefile
- Loading branch information
Showing
3 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,5 @@ | |
|
||
# Ignore automatically generated higlight.js files | ||
highlight.js.custom | ||
|
||
build/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
.PHONY: all | ||
all: build build/user-guide build/specification build/tutorials | ||
|
||
.PHONY: build | ||
build: clean | ||
mdbook build main | ||
cp -r main/book build | ||
|
||
.PHONY: build/user-guide | ||
build/user-guide: | ||
mdbook build user-guide | ||
cp -r user-guide/book build/user-guide | ||
|
||
.PHONY: build/specification | ||
build/specification: | ||
mdbook build specification | ||
cp -r specification/book build/specification | ||
|
||
|
||
.PHONY: build/tutorials | ||
build/tutorials: | ||
mdbook build tutorials | ||
cp -r tutorials/book build/tutorials | ||
|
||
.PHONY: serve | ||
serve: | ||
python3 -m http.server -d build | ||
|
||
.PHONY: clean | ||
clean: | ||
rm -r build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters