Skip to content

Commit a37ec2e

Browse files
committed
Add Makefile steps to build pdf, epub
1 parent 66647a0 commit a37ec2e

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ node_modules
1010
byte-of-python.epub
1111
byte-of-python.pdf
1212
package-lock.json
13+
package.json
14+
public

Makefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,14 @@
22
setup:
33
npm install honkit --save-dev
44

5+
build:
6+
npx honkit build . public --log=debug
7+
8+
pdf:
9+
npx honkit pdf . byte-of-python.pdf
10+
11+
epub:
12+
npx honkit epub . byte-of-python.epub
13+
514
serve:
615
npx honkit serve

0 commit comments

Comments
 (0)