diff options
author | EuAndreh <eu@euandre.org> | 2022-12-08 21:05:53 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2022-12-08 21:05:53 -0300 |
commit | 87206f75003316b185ac85769d8226501aa4a5bd (patch) | |
tree | afb72cedd4ec7f8cd30d9c1cac4a3de96e3b8f27 /Makefile | |
parent | Makefile: Build public/ out of data from the repository (diff) | |
download | toph-87206f75003316b185ac85769d8226501aa4a5bd.tar.gz toph-87206f75003316b185ac85769d8226501aa4a5bd.tar.xz |
aux/: Embed files in repository
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 11 insertions, 8 deletions
@@ -1,7 +1,9 @@ .POSIX: -NAME = servers -LIST = ~euandreh/public-inbox@lists.sr.ht -TLD = euandre.org +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 @@ -11,10 +13,11 @@ TLD = euandre.org .in: sed \ - -e 's:@PROJECT_UC@:$(NAME):g' \ - -e 's:@PROJECT@:$(NAME):g' \ - -e 's:@MAILING_LIST@:$(LIST):g' \ - -e 's:@TLD@:$(TLD):g' \ + -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 @@ -27,7 +30,7 @@ check: clean: rm -rf \ - .sentinel/ public/ + .sentinel/ public/ aux/workflow/preamble.md dev-check: check public |