.POSIX: NAME = servers LIST = ~euandreh/public-inbox@lists.sr.ht TLD = euandre.org .SUFFIXES: .SUFFIXES: .in .in: sed \ -e 's:@PROJECT_UC@:$(NAME):g' \ -e 's:@PROJECT@:$(NAME):g' \ -e 's:@MAILING_LIST@:$(LIST):g' \ -e 's:@TLD@:$(TLD):g' \ < $< > $@ if [ -x $< ]; then chmod +x $@; fi all: public check: clean: rm -rf \ .sentinel/ public/ dev-check: check public HOST = toph deploy: scp \ src/infrastructure/guix/channels.scm \ src/infrastructure/guix/system.scm \ $(HOST):/etc/guix/ ssh $(HOST) r reconfigure $(OPTS) .sentinel/mkdir-public: mkdir -p public .sentinel touch $@ public/favicon.svg: .sentinel/mkdir-public aux/workflow/favicon.svg cp aux/workflow/favicon.svg $@ public/style.css: .sentinel/mkdir-public td -S > $@ public/TODOs.html: .sentinel/mkdir-public aux/workflow/preamble.md TODOs.md td -H | cat aux/workflow/preamble.md - | \ sh aux/workflow/md2html.sh -N $(NAME) -T TODOs > $@ public/ci: sh aux/ci/report.sh -o $@ -n $(NAME) public: public/favicon.svg public/style.css public/TODOs.html public/ci