aboutsummaryrefslogtreecommitdiff
path: root/aux/dev.mk
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-04-02 10:33:40 -0300
committerEuAndreh <eu@euandre.org>2023-04-02 16:36:23 -0300
commit22a7b4f0c8e018077984d58476a0c419b5e11942 (patch)
tree0343f0defd1bcea762dcce10b29c8c909661b577 /aux/dev.mk
parentaux/dev.mk: make in parallel over for loop (diff)
downloadremembering-22a7b4f0c8e018077984d58476a0c419b5e11942.tar.gz
remembering-22a7b4f0c8e018077984d58476a0c419b5e11942.tar.xz
aux/checks/repo.sh: WIP Fix tests
Notes
See CI logs with: git notes --ref=refs/notes/ci-logs show 22a7b4f0c8e018077984d58476a0c419b5e11942 git notes --ref=refs/notes/ci-data show 22a7b4f0c8e018077984d58476a0c419b5e11942 Exit status: 2 Duration: 7
Diffstat (limited to 'aux/dev.mk')
-rw-r--r--aux/dev.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/aux/dev.mk b/aux/dev.mk
index e644edb..9b91786 100644
--- a/aux/dev.mk
+++ b/aux/dev.mk
@@ -6,7 +6,7 @@
.in:
sed \
-e "s:@TLD@:`cat aux/tld.txt`:g" \
- -e "s:@NAME@:`basename $$PWD`:g" \
+ -e "s:@NAME@:`basename "$$PWD"`:g" \
-e 's:@MAILING_LIST@:$(MAILING_LIST):g' \
< $< > $@
@@ -14,13 +14,13 @@
pandoc -s -r man -w html \
-H aux/headers.html \
--metadata lang="`echo $< | awk -F. '{ print $$(NF-2) }'`" \
- < $(<D)/`basename $(<F) .in` > $@
+ < $(<D)/`basename "$(<F)" .in` > $@
.md.html:
pandoc -s -r commonmark -w html \
-H aux/headers.html \
--metadata lang="`echo $(<F) | cut -d. -f2`" \
- --metadata title="`basename $$PWD` - `echo $(<F) | cut -d. -f1`" \
+ --metadata title="`basename "$$PWD"` - `echo $(<F) | cut -d. -f1`" \
--toc --toc-depth=2 \
--highlight-style pygments \
< $< > $@
@@ -38,14 +38,14 @@ public/index.html:
ln -rs public/en/index.html $@
public/ci:
- sh aux/ci/report.sh -n `basename "$$PWD"` -o $@
+ sh aux/ci/report.sh -n "`basename "$$PWD"`" -o $@
public/TODOs.html: TODOs.md aux/preamble-md
mkdir -p $(@D)
td -H | cat aux/preamble-md - | pandoc -s -r commonmark -w html \
-H aux/headers.html \
--metadata lang=en \
- --metadata title="`basename $$PWD` - TODOs" \
+ --metadata title="`basename "$$PWD"` - TODOs" \
--toc --toc-depth=2 \
--highlight-style pygments \
> $@