Skip to content

Commit 1c5623b

Browse files
update makefile to fix pdf target (#522)
1 parent 34b53a3 commit 1c5623b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@ PANDOC_EPUB_OPTIONS := --to epub3
7070
# Targets
7171
# -----------------------------------------------------------------------------
7272

73-
.PHONY: all epub mkdocs serve copy-pdfs zip-pdfs clean
73+
.PHONY: all epub pdf mkdocs serve copy-pdfs zip-pdfs clean
7474

7575
# Default target: build all exported documents and the MkDocs site.
76-
all: $(EXPORTED_DOCS) epub zip-pdfs mkdocs
76+
all: $(EXPORTED_DOCS) epub pdf zip-pdfs mkdocs
7777

7878
# EPUB combined main text + annexes
7979
epub :
@@ -82,7 +82,7 @@ epub :
8282

8383
pdf :
8484
@mkdir -p $(BUILD_DIR)/pdf
85-
$(PANDOC) $(PANDOC_OPTIONS) $(PANDOC_PDF_OPTIONS) -o $(BUILD_DIR)/pdf/architecture-and-reference-framework-main-and-annexes.pdf $(SOURCE_DOCS)
85+
$(PANDOC) $(PANDOC_OPTIONS) $(PANDOC_PDF_OPTIONS) -M subtitle="Architecture and Reference Framework" -o $(BUILD_DIR)/pdf/architecture-and-reference-framework-main-and-annexes.pdf $(SOURCE_DOCS)
8686
# Build the MkDocs site
8787
mkdocs:
8888
$(MKDOCS) build

0 commit comments

Comments
 (0)