diff options
author | Marius Peter <marius.peter@tutanota.com> | 2021-09-29 19:49:34 -0700 |
---|---|---|
committer | Marius Peter <marius.peter@tutanota.com> | 2021-09-29 19:49:34 -0700 |
commit | f6dfa0dceb9fb0883d855f160af17e90987997f0 (patch) | |
tree | 697267b6385ae4259e5df73def1a894de568c1bb /site/Makefile | |
parent | cbef40f96bfd754b25f999f3fad084fe04a47187 (diff) |
Taking the meta to a new level.
Diffstat (limited to 'site/Makefile')
-rw-r--r-- | site/Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/site/Makefile b/site/Makefile new file mode 100644 index 0000000..c7ff8a8 --- /dev/null +++ b/site/Makefile @@ -0,0 +1,22 @@ +# Makefile for Smart Documents. + +.PHONY: all content styles + +all: content styles + +content: publish.el + @echo "Publishing site's content (html and site media)." + emacs --batch --load publish.el --eval="(org-publish \"content\")" + +styles: publish.el + @echo "Publishing site's assets (css, js, img, fonts etc.)." + emacs --batch --load publish.el --eval="(org-publish \"assets\")" + +css: publish.el + @echo "Publishing site's css stylesheets." + emacs --batch --load publish.el --eval="(org-publish \"css\")" + +clean: + @echo "Cleaning up.." + @rm -rvf *.elc + @rm -rvf ~/.org-timestamps/* |