summaryrefslogtreecommitdiff
path: root/site/Makefile
blob: c7ff8a8ac2246959ffe2e52c10c3ba0a4d7dc756 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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/*
Copyright 2019--2024 Marius PETER