mirror of
https://github.com/semaphoreci/book-cicd-docker-kubernetes.git
synced 2026-02-14 15:59:50 +00:00
Book creation with Pandoc.
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,3 +1,4 @@
|
||||
*.swp
|
||||
*.swo
|
||||
.DS_Store
|
||||
build
|
||||
|
||||
19
Makefile
Normal file
19
Makefile
Normal file
@@ -0,0 +1,19 @@
|
||||
BUILD = build
|
||||
BOOKNAME = CICD_with_Docker_Kubernetes_Semaphore
|
||||
TITLE = title.txt
|
||||
CHAPTERS = ch01.md ch02.md ch03.md ch04.md
|
||||
|
||||
all: book
|
||||
|
||||
book: pdf #epub html
|
||||
|
||||
clean:
|
||||
rm -r $(BUILD)
|
||||
|
||||
pdf: $(BUILD)/pdf/$(BOOKNAME).pdf
|
||||
|
||||
$(BUILD)/pdf/$(BOOKNAME).pdf: $(TITLE) $(CHAPTERS)
|
||||
mkdir -p $(BUILD)/pdf
|
||||
pandoc -o $@ $^
|
||||
|
||||
.PHONY: all book clean pdf #epub html
|
||||
Reference in New Issue
Block a user