Tom Willemse
a4603a7901
This should include both a light and a dark theme, but I will admit that I'm mostly testing with the dark one.
23 lines
572 B
Makefile
23 lines
572 B
Makefile
.PHONY: publish html css
|
|
|
|
site: html css
|
|
|
|
html:
|
|
@echo "Publishing..."
|
|
cask emacs --quick --batch --load publish.el --funcall org-publish-all
|
|
|
|
css: public/assets/css/main.css public/assets/css/tekuti.css public/assets/css/cgit.css
|
|
|
|
public/assets/css/main.css public/assets/css/tekuti.css public/assets/css/cgit.css: \
|
|
src/less/include/common.less \
|
|
src/less/include/components.less \
|
|
src/less/include/colors.less
|
|
|
|
public/assets/css/%.css: src/less/%.less
|
|
lessc $< $@
|
|
|
|
clean:
|
|
@echo "Cleaning up..."
|
|
@rm -rvf *.elc
|
|
@rm -rvf public
|
|
@rm -rvf .org-timestamps
|