X-Git-Url: https://git.shemshak.org/~bandali/bndl.org/blobdiff_plain/212ec2e606552fdfa9fcd970a5e27a7dc9ce0042..4ce760d0e6a8e2a939e45afce78045bf6ead9828:/GNUmakefile diff --git a/GNUmakefile b/GNUmakefile index d791a55..ae9eab7 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -8,7 +8,7 @@ # without any warranty. -gen-html = perl txt2html $(1) < $< > $@ +gen-html = perl txt2pre $(1) < $< > $@ port := $(if $(port),$(port),8000) TXT := $(filter-out bandali-pubkey.txt bandali.txt,$(wildcard *.txt)) @@ -39,6 +39,6 @@ serve: watch: while true; do \ echo $(TXT) $(TXT_FA) bandali.txt fa/bandali.fa.txt \ - GNUmakefile txt2html | tr " " "\n" | entr -d make; done + GNUmakefile txt2pre | tr " " "\n" | entr -d make; done .PHONY: all clean serve watch