Skip to content

Commit

Permalink
Update pdf generation in Makefile
Browse files Browse the repository at this point in the history
Remove STONEWORK-CONFIG.pdf

Signed-off-by: Samuel Dudík <[email protected]>
  • Loading branch information
samuel-dudik committed Mar 15, 2022
1 parent d0d8a61 commit 65a50c4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,16 @@ endif
# Release
# -------------------------------

md-to-pdf:
pandoc README.md -o README.pdf "-fmarkdown-implicit_figures -o" --from=markdown -V geometry:margin=.6in -V colorlinks --toc --highlight-style=espresso
%.pdf: %.md
pandoc "-fmarkdown-implicit_figures -o" "--from=markdown+rebase_relative_paths" -V geometry:margin=.6in -V colorlinks --toc --highlight-style=espresso $< -o $@

MDS := $(shell find . -name "*.md")
PDFS := $(MDS:%.md=%.pdf)

pdf: ${PDFS}

pdf-clean:
rm -f ${PDFS}

generate-config-docs:
echo "${STONEWORK_PROD_IMAGE}:${DEV_VERSION}" | bash -x ./scripts/gen-docs.sh
Expand Down
Binary file removed docs/config/STONEWORK-CONFIG.pdf
Binary file not shown.

0 comments on commit 65a50c4

Please sign in to comment.