From 8f338ffb769881c0f9458ab8e8cb821bf7221001 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Thu, 6 Jul 2023 15:44:44 -0300 Subject: v2: dynamic.mk: Stick to 80 columns --- v2/dynamic.mk | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) (limited to 'v2/dynamic.mk') 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 > $@ -- cgit v1.2.3