diff options
author | EuAndreh <eu@euandre.org> | 2023-07-06 15:44:44 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-07-06 15:44:44 -0300 |
commit | 8f338ffb769881c0f9458ab8e8cb821bf7221001 (patch) | |
tree | 4de7033cbc0cce6bd44ecbdd22d3f36ba74f82a9 /v2 | |
parent | v2: Makefile: Unsilence recipes (diff) | |
download | euandre.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.mk | 23 |
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 > $@ |