12 lines
331 B
Makefile
12 lines
331 B
Makefile
RAM=/tmp
|
|
# DOC: hstut rc
|
|
DOC ?= universefromnothing
|
|
upload:
|
|
scp $(RAM)/$(SRC).pdf tacos:/var/www/htdocs/t.karchnu.fr/doc/
|
|
|
|
run_universefromnothing:
|
|
cat $(SRC).ms | $(SOELIM) | $(EQN) | $(GHIGHLIGHT) | $(GRAP) | $(PIC) | $(REFER) | $(PRECONV) | $(GROFF) > $(RAM)/$(SRC).pdf
|
|
|
|
serve:
|
|
find . -name "*.ms" | entr gmake -B run_$(DOC)
|