aboutsummaryrefslogtreecommitdiff
path: root/v2/dynamic.mk
diff options
context:
space:
mode:
Diffstat (limited to '')
-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 > $@