brokenco.de/Makefile

26 lines
528 B
Makefile
Raw Permalink Normal View History

JEKYLL=bundle exec jekyll
all:
LANG="en_US.UTF-8" $(JEKYLL) build
drafts: tags
LANG="en_US.UTF-8" $(JEKYLL) serve --drafts --incremental
2019-02-23 17:51:39 +00:00
run: tags
2021-04-27 06:17:43 +00:00
rm -rf _site && $(JEKYLL) serve --drafts --future --watch --incremental --limit-posts 40
2019-02-23 17:51:39 +00:00
tags:
./generate-tags
publish: tags
2018-08-05 22:27:38 +00:00
find files -iname "*.png" -type f -exec pngcrush -ow -noforce -reduce {} \;
$(JEKYLL) build
.PHONY: all drafts tags publish microblog
microblog:
_scripts/new-microblog && \
git add _microblog tweets && git commit --no-gpg-sign -m "tweet"