Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Pandoc S3 Site Makefile
MARKDOWN = pandoc --standalone --from markdown+smart --to html --css theme.css
all: $(patsubst,%.html,$(wildcard *.md)) Makefile
rm -fv $(patsubst,%.html,$(wildcard *.md))
aws-3.7 s3 sync . s3:/<BUCKET> --exclude "*" --include "*.html" --include
$(MARKDOWN) $< --output $@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.