12 lines
321 B
Makefile
12 lines
321 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) | $(PIC) | $(REFER) | $(PRECONV) | $(GROFF) > $(RAM)/$(SRC).pdf
|
||
|
|
||
|
serve:
|
||
|
find . -name "*.ms" | entr gmake -B run_$(DOC)
|