new-ryuslash.org/GNUmakefile

24 lines
572 B
Text
Raw Normal View History

.PHONY: publish html css
2019-10-06 21:57:14 +02:00
2019-10-07 03:49:10 +02:00
site: html css
html:
@echo "Publishing..."
cask emacs --quick --batch --load publish.el --funcall org-publish-all
2019-10-07 03:49:10 +02:00
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
2019-10-06 21:57:14 +02:00
public/assets/css/%.css: src/less/%.less
lessc $< $@
clean:
@echo "Cleaning up..."
@rm -rvf *.elc
@rm -rvf public
@rm -rvf .org-timestamps