Download raw (678 bytes)
SHELL := /usr/bin/env bash all: chapters/book0/style.css chapters/book1/style.css chapters/book2/style.css chapters/book3/style.css chapters/book0/style.css : chapters/book0/style.less lessc chapters/book0/style.less chapters/book0/style.css chapters/book1/style.css : chapters/book1/style.less lessc chapters/book1/style.less chapters/book1/style.css chapters/book2/style.css : chapters/book2/style.less lessc chapters/book2/style.less chapters/book2/style.css chapters/book3/style.css : chapters/book3/style.less lessc chapters/book3/style.less chapters/book3/style.css # In the makefile: .PHONY: watch watch: while true; do make | grep -v "^make"; sleep 1; done