aboutsummaryrefslogtreecommitdiff
path: root/v2
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-07-06 15:44:44 -0300
committerEuAndreh <eu@euandre.org>2023-07-06 15:44:44 -0300
commit8f338ffb769881c0f9458ab8e8cb821bf7221001 (patch)
tree4de7033cbc0cce6bd44ecbdd22d3f36ba74f82a9 /v2
parentv2: Makefile: Unsilence recipes (diff)
downloadeuandre.org-8f338ffb769881c0f9458ab8e8cb821bf7221001.tar.gz
euandre.org-8f338ffb769881c0f9458ab8e8cb821bf7221001.tar.xz
v2: dynamic.mk: Stick to 80 columns
Diffstat (limited to 'v2')
-rw-r--r--v2/dynamic.mk23
1 files changed, 15 insertions, 8 deletions
diff --git a/v2/dynamic.mk b/v2/dynamic.mk
index 77c7e77..4537490 100644
--- a/v2/dynamic.mk
+++ b/v2/dynamic.mk
@@ -7,8 +7,8 @@ include generated.mk
.SUFFIXES:
-.SUFFIXES: .page .md .content .conf .html .categoryentry .indexentry .xmlentry .mapentry .uncolored
-.SUFFIXES: .slides .ps .pdf
+.SUFFIXES: .page .md .content .conf .html .categoryentry .indexentry .xmlentry
+.SUFFIXES: .mapentry .uncolored .slides .ps .pdf
.page.md:
@@ -128,7 +128,10 @@ symlink-mappings.sentinel: src/redirect.mappings
touch $@
copy-content.sentinel: $(content) content-mkdir.sentinel
- echo $? | tr ' ' '\n' | grep '^src/content/' | sed 's|^src/content/||' | \
+ echo $? | \
+ tr ' ' '\n' | \
+ grep '^src/content/' | \
+ sed 's|^src/content/||' | \
xargs -P`nproc` -I% ln -f src/content/% public/%
touch $@
@@ -139,10 +142,13 @@ copy-containers.sentinel: $(containers) content-mkdir.sentinel
touch $@
content-mkdir.sentinel: $(content) $(containers)
- echo $? | tr ' ' '\n' | grep '^src/content/' | sed 's|^src/content/||' | \
- xargs dirname | \
- sort | \
- uniq | \
+ echo $? | \
+ tr ' ' '\n' | \
+ grep '^src/content/' | \
+ sed 's|^src/content/||' | \
+ xargs dirname | \
+ sort | \
+ uniq | \
xargs -P`nproc` -I% mkdir -p public/%
touch $@
@@ -153,7 +159,8 @@ src/content/favicon.ico: src/content/img/favicon.svg
src/content/public.asc.txt:
gpg --armour --export '$(EMAIL)' > $@
-src/content/.well-known/security.txt: src/content/public.asc.txt src/bin/security-txt
+src/content/.well-known/security.txt: \
+ src/content/public.asc.txt src/bin/security-txt
security-txt > $@