diff options
author | EuAndreh <eu@euandre.org> | 2023-03-10 17:52:25 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-03-10 17:52:25 -0300 |
commit | e47b7ff2fc3d6e21becba0360214e83b31f40b6d (patch) | |
tree | 90b87dbc9e9ff5ff70e8fff1ef18c80740b46c8e /Makefile | |
parent | src/infrastructure/guix/channels.scm: Do not depend on forked "guix" channel (diff) | |
download | toph-e47b7ff2fc3d6e21becba0360214e83b31f40b6d.tar.gz toph-e47b7ff2fc3d6e21becba0360214e83b31f40b6d.tar.xz |
Makefile: cleanup existing targets
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 55 |
1 files changed, 2 insertions, 53 deletions
@@ -1,63 +1,12 @@ .POSIX: -NAME = servers -LIST_NAME = public-inbox -LIST = ~euandreh/$(LIST_NAME)@lists.sr.ht -SEARCH = https://lists.sr.ht/~euandreh/$(LIST_NAME)?search=%5B$(NAME)%5D -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|@LIST_SEARCH@|$(SEARCH)|g' \ - -e 's|@TLD@|$(TLD)|g' \ - < $< > $@ - if [ -x $< ]; then chmod +x $@; fi - - - -all: public +all: check: clean: - rm -rf \ - .sentinel/ public/ aux/workflow/preamble.md - -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 +public: |