diff options
-rw-r--r-- | Makefile | 14 | ||||
-rw-r--r-- | deps.mk | 165 | ||||
-rwxr-xr-x | mkdeps.sh | 36 | ||||
l--------- | src/collections/en.blog | 1 | ||||
l--------- | src/collections/en.pastebins | 1 | ||||
l--------- | src/collections/en.podcasts | 1 | ||||
l--------- | src/collections/en.screencasts | 1 | ||||
l--------- | src/collections/en.tils | 1 | ||||
l--------- | src/collections/en/blog | 1 | ||||
l--------- | src/collections/en/pastebins | 1 | ||||
l--------- | src/collections/en/podcasts | 1 | ||||
l--------- | src/collections/en/screencasts | 1 | ||||
l--------- | src/collections/en/tils | 1 | ||||
l--------- | src/collections/pt/hea | 1 |
14 files changed, 137 insertions, 89 deletions
@@ -204,13 +204,13 @@ captured-assets = \ $(sources.media.torrent) \ side-assets = \ - src/collections/*/*/*/*/*.html.*.txt \ - src/collections/*/*/*/*/*.html.*.txt.gz \ - src/collections/*/index.html.*.txt \ - src/collections/*/sortdata.txt \ - src/collections/*/feed.*.xml \ - src/collections/*/feed.*.xml.gz \ - src/collections/*/*.sortdata \ + src/collections/*/*/*/*/*/*.html.*.txt \ + src/collections/*/*/*/*/*/*.txt.gz \ + src/collections/*/*/index.html.*.txt \ + src/collections/*/*/sortdata.txt \ + src/collections/*/*/feed.*.xml \ + src/collections/*/*/feed.*.xml.gz \ + src/collections/*/*/*.sortdata \ src/pages/*/*.html.*.txt \ src/content/.well-known/ \ `cat src/all-symlinks.txt 2>/dev/null` \ @@ -68,6 +68,7 @@ articles.adoc = \ src/content/en/tils/2021/04/24/scm-nif.adoc \ src/content/en/tils/2021/07/23/git-tls-gpg.adoc \ src/content/en/tils/2021/08/11/js-bigint-reviver.adoc \ + src/content/pt/hea/2020/08/12/arquivo-datado.adoc \ categories.adoc = \ src/content/en/blog/categories.adoc \ @@ -193,6 +194,7 @@ src/content/en/tils/2021/04/24/clojure-autocurry.html.gz: src/content/en/tils/20 src/content/en/tils/2021/04/24/scm-nif.html.gz: src/content/en/tils/2021/04/24/scm-nif.html src/content/en/tils/2021/07/23/git-tls-gpg.html.gz: src/content/en/tils/2021/07/23/git-tls-gpg.html src/content/en/tils/2021/08/11/js-bigint-reviver.html.gz: src/content/en/tils/2021/08/11/js-bigint-reviver.html +src/content/pt/hea/2020/08/12/arquivo-datado.html.gz: src/content/pt/hea/2020/08/12/arquivo-datado.html src/content/en/blog/index.html.gz: src/content/en/blog/index.html src/content/en/pastebins/index.html.gz: src/content/en/pastebins/index.html src/content/en/podcasts/index.html.gz: src/content/en/podcasts/index.html @@ -270,6 +272,7 @@ src/content/en/tils/2021/04/24/clojure-autocurry.snippets.gz: src/content/en/til src/content/en/tils/2021/04/24/scm-nif.snippets.gz: src/content/en/tils/2021/04/24/scm-nif.snippets src/content/en/tils/2021/07/23/git-tls-gpg.snippets.gz: src/content/en/tils/2021/07/23/git-tls-gpg.snippets src/content/en/tils/2021/08/11/js-bigint-reviver.snippets.gz: src/content/en/tils/2021/08/11/js-bigint-reviver.snippets +src/content/pt/hea/2020/08/12/arquivo-datado.snippets.gz: src/content/pt/hea/2020/08/12/arquivo-datado.snippets src/content/en/blog/index.snippets.gz: src/content/en/blog/index.snippets src/content/en/pastebins/index.snippets.gz: src/content/en/pastebins/index.snippets src/content/en/podcasts/index.snippets.gz: src/content/en/podcasts/index.snippets @@ -358,6 +361,7 @@ src/content/en/tils/2021/04/24/clojure-autocurry.htmlbody src/content/en/tils/20 src/content/en/tils/2021/04/24/scm-nif.htmlbody src/content/en/tils/2021/04/24/scm-nif.snippets src/content/en/tils/2021/04/24/scm-nif.conf: src/content/en/tils/2021/04/24/scm-nif.adoc src/content/en/tils/2021/07/23/git-tls-gpg.htmlbody src/content/en/tils/2021/07/23/git-tls-gpg.snippets src/content/en/tils/2021/07/23/git-tls-gpg.conf: src/content/en/tils/2021/07/23/git-tls-gpg.adoc src/content/en/tils/2021/08/11/js-bigint-reviver.htmlbody src/content/en/tils/2021/08/11/js-bigint-reviver.snippets src/content/en/tils/2021/08/11/js-bigint-reviver.conf: src/content/en/tils/2021/08/11/js-bigint-reviver.adoc +src/content/pt/hea/2020/08/12/arquivo-datado.htmlbody src/content/pt/hea/2020/08/12/arquivo-datado.snippets src/content/pt/hea/2020/08/12/arquivo-datado.conf: src/content/pt/hea/2020/08/12/arquivo-datado.adoc src/content/en/blog/index.htmlbody src/content/en/blog/index.snippets src/content/en/blog/index.conf: src/content/en/blog/index.adoc src/content/en/pastebins/index.htmlbody src/content/en/pastebins/index.snippets src/content/en/pastebins/index.conf: src/content/en/pastebins/index.adoc src/content/en/podcasts/index.htmlbody src/content/en/podcasts/index.snippets src/content/en/podcasts/index.conf: src/content/en/podcasts/index.adoc @@ -435,6 +439,7 @@ src/content/en/tils/2021/04/24/clojure-autocurry.html: src/content/en/tils/2021/ src/content/en/tils/2021/04/24/scm-nif.html: src/content/en/tils/2021/04/24/scm-nif.conf src/content/en/tils/2021/04/24/scm-nif.htmlbody src/content/en/tils/2021/07/23/git-tls-gpg.html: src/content/en/tils/2021/07/23/git-tls-gpg.conf src/content/en/tils/2021/07/23/git-tls-gpg.htmlbody src/content/en/tils/2021/08/11/js-bigint-reviver.html: src/content/en/tils/2021/08/11/js-bigint-reviver.conf src/content/en/tils/2021/08/11/js-bigint-reviver.htmlbody +src/content/pt/hea/2020/08/12/arquivo-datado.html: src/content/pt/hea/2020/08/12/arquivo-datado.conf src/content/pt/hea/2020/08/12/arquivo-datado.htmlbody src/content/en/blog/index.html: src/content/en/blog/index.conf src/content/en/blog/index.htmlbody src/content/en/pastebins/index.html: src/content/en/pastebins/index.conf src/content/en/pastebins/index.htmlbody src/content/en/podcasts/index.html: src/content/en/podcasts/index.conf src/content/en/podcasts/index.htmlbody @@ -513,6 +518,7 @@ src/content/en/tils/2021/04/24/clojure-autocurry.updatedat-check: src/content/en src/content/en/tils/2021/04/24/scm-nif.updatedat-check: src/content/en/tils/2021/04/24/scm-nif.conf src/content/en/tils/2021/07/23/git-tls-gpg.updatedat-check: src/content/en/tils/2021/07/23/git-tls-gpg.conf src/content/en/tils/2021/08/11/js-bigint-reviver.updatedat-check: src/content/en/tils/2021/08/11/js-bigint-reviver.conf +src/content/pt/hea/2020/08/12/arquivo-datado.updatedat-check: src/content/pt/hea/2020/08/12/arquivo-datado.conf src/content/en/blog/index.updatedat-check: src/content/en/blog/index.conf src/content/en/pastebins/index.updatedat-check: src/content/en/pastebins/index.conf src/content/en/podcasts/index.updatedat-check: src/content/en/podcasts/index.conf @@ -590,6 +596,7 @@ src/content/en/tils/2021/04/24/clojure-autocurry.links-internal-check: src/conte src/content/en/tils/2021/04/24/scm-nif.links-internal-check: src/content/en/tils/2021/04/24/scm-nif.links src/content/en/tils/2021/07/23/git-tls-gpg.links-internal-check: src/content/en/tils/2021/07/23/git-tls-gpg.links src/content/en/tils/2021/08/11/js-bigint-reviver.links-internal-check: src/content/en/tils/2021/08/11/js-bigint-reviver.links +src/content/pt/hea/2020/08/12/arquivo-datado.links-internal-check: src/content/pt/hea/2020/08/12/arquivo-datado.links src/content/en/blog/index.links-internal-check: src/content/en/blog/index.links src/content/en/pastebins/index.links-internal-check: src/content/en/pastebins/index.links src/content/en/podcasts/index.links-internal-check: src/content/en/podcasts/index.links @@ -667,6 +674,7 @@ src/content/en/tils/2021/04/24/clojure-autocurry.caslinks: src/content/en/tils/2 src/content/en/tils/2021/04/24/scm-nif.caslinks: src/content/en/tils/2021/04/24/scm-nif.links src/content/en/tils/2021/07/23/git-tls-gpg.caslinks: src/content/en/tils/2021/07/23/git-tls-gpg.links src/content/en/tils/2021/08/11/js-bigint-reviver.caslinks: src/content/en/tils/2021/08/11/js-bigint-reviver.links +src/content/pt/hea/2020/08/12/arquivo-datado.caslinks: src/content/pt/hea/2020/08/12/arquivo-datado.links src/content/en/blog/index.caslinks: src/content/en/blog/index.links src/content/en/pastebins/index.caslinks: src/content/en/pastebins/index.links src/content/en/podcasts/index.caslinks: src/content/en/podcasts/index.links @@ -742,6 +750,7 @@ src/content/en/tils/2021/04/24/clojure-autocurry.feedentry: src/content/en/tils/ src/content/en/tils/2021/04/24/scm-nif.feedentry: src/content/en/tils/2021/04/24/scm-nif.conf src/content/en/tils/2021/04/24/scm-nif.htmlbody src/content/en/tils/2021/07/23/git-tls-gpg.feedentry: src/content/en/tils/2021/07/23/git-tls-gpg.conf src/content/en/tils/2021/07/23/git-tls-gpg.htmlbody src/content/en/tils/2021/08/11/js-bigint-reviver.feedentry: src/content/en/tils/2021/08/11/js-bigint-reviver.conf src/content/en/tils/2021/08/11/js-bigint-reviver.htmlbody +src/content/pt/hea/2020/08/12/arquivo-datado.feedentry: src/content/pt/hea/2020/08/12/arquivo-datado.conf src/content/pt/hea/2020/08/12/arquivo-datado.htmlbody src/content/en/blog/2018/07/17/guix-nixos.sortdata: src/content/en/blog/2018/07/17/guix-nixos.conf src/content/en/blog/2018/08/01/npm-ci-reproducibility.sortdata: src/content/en/blog/2018/08/01/npm-ci-reproducibility.conf src/content/en/blog/2018/12/21/ytdl-subs.sortdata: src/content/en/blog/2018/12/21/ytdl-subs.conf @@ -806,6 +815,7 @@ src/content/en/tils/2021/04/24/clojure-autocurry.sortdata: src/content/en/tils/2 src/content/en/tils/2021/04/24/scm-nif.sortdata: src/content/en/tils/2021/04/24/scm-nif.conf src/content/en/tils/2021/07/23/git-tls-gpg.sortdata: src/content/en/tils/2021/07/23/git-tls-gpg.conf src/content/en/tils/2021/08/11/js-bigint-reviver.sortdata: src/content/en/tils/2021/08/11/js-bigint-reviver.conf +src/content/pt/hea/2020/08/12/arquivo-datado.sortdata: src/content/pt/hea/2020/08/12/arquivo-datado.conf src/content/en/blog/2018/07/17/guix-nixos.categorydata: src/content/en/blog/2018/07/17/guix-nixos.conf src/content/en/blog/2018/08/01/npm-ci-reproducibility.categorydata: src/content/en/blog/2018/08/01/npm-ci-reproducibility.conf src/content/en/blog/2018/12/21/ytdl-subs.categorydata: src/content/en/blog/2018/12/21/ytdl-subs.conf @@ -870,6 +880,7 @@ src/content/en/tils/2021/04/24/clojure-autocurry.categorydata: src/content/en/ti src/content/en/tils/2021/04/24/scm-nif.categorydata: src/content/en/tils/2021/04/24/scm-nif.conf src/content/en/tils/2021/07/23/git-tls-gpg.categorydata: src/content/en/tils/2021/07/23/git-tls-gpg.conf src/content/en/tils/2021/08/11/js-bigint-reviver.categorydata: src/content/en/tils/2021/08/11/js-bigint-reviver.conf +src/content/pt/hea/2020/08/12/arquivo-datado.categorydata: src/content/pt/hea/2020/08/12/arquivo-datado.conf src/content/en/blog/index.htmlheader src/content/en/blog/index.htmlfooter: src/content/en/blog/index.conf src/content/en/pastebins/index.htmlheader src/content/en/pastebins/index.htmlfooter: src/content/en/pastebins/index.conf @@ -918,7 +929,7 @@ src/content/en/screencasts/2021/02/07/autoqemu.webm.torrent: src/content/en/scre -articles.blog.adoc = \ +articles.en.blog.adoc = \ src/content/en/blog/2018/07/17/guix-nixos.adoc \ src/content/en/blog/2018/08/01/npm-ci-reproducibility.adoc \ src/content/en/blog/2018/12/21/ytdl-subs.adoc \ @@ -937,28 +948,28 @@ articles.blog.adoc = \ src/content/en/blog/2021/02/17/fallible.adoc \ src/content/en/blog/2021/04/29/relational-review.adoc \ -articles.blog.sortdata = $(articles.blog.adoc:.adoc=.sortdata) -articles.blog.indexentry = $(articles.blog.adoc:.adoc=.indexentry) -articles.blog.feedentry = $(articles.blog.adoc:.adoc=.feedentry) -articles.blog.categorydata = $(articles.blog.adoc:.adoc=.categorydata) +articles.en.blog.sortdata = $(articles.en.blog.adoc:.adoc=.sortdata) +articles.en.blog.indexentry = $(articles.en.blog.adoc:.adoc=.indexentry) +articles.en.blog.feedentry = $(articles.en.blog.adoc:.adoc=.feedentry) +articles.en.blog.categorydata = $(articles.en.blog.adoc:.adoc=.categorydata) src/content/en/blog/sortdata.txt: deps.mk - printf '%s\n' $(articles.blog.sortdata) > $@ + printf '%s\n' $(articles.en.blog.sortdata) > $@ src/content/en/blog/feed.xml: src/content/en/blog/sortdata.txt -src/content/en/blog/feed.xml: $(articles.blog.sortdata) +src/content/en/blog/feed.xml: $(articles.en.blog.sortdata) src/content/en/blog/index.htmllisting: src/content/en/blog/sortdata.txt -src/content/en/blog/index.htmllisting: $(articles.blog.sortdata) +src/content/en/blog/index.htmllisting: $(articles.en.blog.sortdata) src/content/en/blog/categories.htmllisting: src/content/en/blog/sortdata.txt -src/content/en/blog/categories.htmllisting: $(articles.blog.sortdata) +src/content/en/blog/categories.htmllisting: $(articles.en.blog.sortdata) src/content/en/blog/categories.txt: src/content/en/blog/sortdata.txt -src/content/en/blog/categories.txt: $(articles.blog.sortdata) -src/content/en/blog/index.htmllisting src/content/en/blog/categories.htmllisting: $(articles.blog.indexentry) -src/content/en/blog/categories.txt: $(articles.blog.categorydata) -src/content/en/blog/categories.txt src/content/en/blog/feed.xml: $(articles.blog.feedentry) +src/content/en/blog/categories.txt: $(articles.en.blog.sortdata) +src/content/en/blog/index.htmllisting src/content/en/blog/categories.htmllisting: $(articles.en.blog.indexentry) +src/content/en/blog/categories.txt: $(articles.en.blog.categorydata) +src/content/en/blog/categories.txt src/content/en/blog/feed.xml: $(articles.en.blog.feedentry) src/content/en/blog/categories.htmllisting src/content/en/blog/categories.xml: src/content/en/blog/categories.txt -articles.pastebins.adoc = \ +articles.en.pastebins.adoc = \ src/content/en/pastebins/2016/04/05/rpn.adoc \ src/content/en/pastebins/2018/07/11/nix-pinning.adoc \ src/content/en/pastebins/2018/07/13/guix-nixos-systemd.adoc \ @@ -982,76 +993,76 @@ articles.pastebins.adoc = \ src/content/en/pastebins/2022/07/14/git-cleanup.adoc \ src/content/en/pastebins/2023/07/22/funcallable-amop.adoc \ -articles.pastebins.sortdata = $(articles.pastebins.adoc:.adoc=.sortdata) -articles.pastebins.indexentry = $(articles.pastebins.adoc:.adoc=.indexentry) -articles.pastebins.feedentry = $(articles.pastebins.adoc:.adoc=.feedentry) -articles.pastebins.categorydata = $(articles.pastebins.adoc:.adoc=.categorydata) +articles.en.pastebins.sortdata = $(articles.en.pastebins.adoc:.adoc=.sortdata) +articles.en.pastebins.indexentry = $(articles.en.pastebins.adoc:.adoc=.indexentry) +articles.en.pastebins.feedentry = $(articles.en.pastebins.adoc:.adoc=.feedentry) +articles.en.pastebins.categorydata = $(articles.en.pastebins.adoc:.adoc=.categorydata) src/content/en/pastebins/sortdata.txt: deps.mk - printf '%s\n' $(articles.pastebins.sortdata) > $@ + printf '%s\n' $(articles.en.pastebins.sortdata) > $@ src/content/en/pastebins/feed.xml: src/content/en/pastebins/sortdata.txt -src/content/en/pastebins/feed.xml: $(articles.pastebins.sortdata) +src/content/en/pastebins/feed.xml: $(articles.en.pastebins.sortdata) src/content/en/pastebins/index.htmllisting: src/content/en/pastebins/sortdata.txt -src/content/en/pastebins/index.htmllisting: $(articles.pastebins.sortdata) +src/content/en/pastebins/index.htmllisting: $(articles.en.pastebins.sortdata) src/content/en/pastebins/categories.htmllisting: src/content/en/pastebins/sortdata.txt -src/content/en/pastebins/categories.htmllisting: $(articles.pastebins.sortdata) +src/content/en/pastebins/categories.htmllisting: $(articles.en.pastebins.sortdata) src/content/en/pastebins/categories.txt: src/content/en/pastebins/sortdata.txt -src/content/en/pastebins/categories.txt: $(articles.pastebins.sortdata) -src/content/en/pastebins/index.htmllisting src/content/en/pastebins/categories.htmllisting: $(articles.pastebins.indexentry) -src/content/en/pastebins/categories.txt: $(articles.pastebins.categorydata) -src/content/en/pastebins/categories.txt src/content/en/pastebins/feed.xml: $(articles.pastebins.feedentry) +src/content/en/pastebins/categories.txt: $(articles.en.pastebins.sortdata) +src/content/en/pastebins/index.htmllisting src/content/en/pastebins/categories.htmllisting: $(articles.en.pastebins.indexentry) +src/content/en/pastebins/categories.txt: $(articles.en.pastebins.categorydata) +src/content/en/pastebins/categories.txt src/content/en/pastebins/feed.xml: $(articles.en.pastebins.feedentry) src/content/en/pastebins/categories.htmllisting src/content/en/pastebins/categories.xml: src/content/en/pastebins/categories.txt -articles.podcasts.adoc = \ +articles.en.podcasts.adoc = \ src/content/en/podcasts/2020/12/19/test-entry.adoc \ -articles.podcasts.sortdata = $(articles.podcasts.adoc:.adoc=.sortdata) -articles.podcasts.indexentry = $(articles.podcasts.adoc:.adoc=.indexentry) -articles.podcasts.feedentry = $(articles.podcasts.adoc:.adoc=.feedentry) -articles.podcasts.categorydata = $(articles.podcasts.adoc:.adoc=.categorydata) +articles.en.podcasts.sortdata = $(articles.en.podcasts.adoc:.adoc=.sortdata) +articles.en.podcasts.indexentry = $(articles.en.podcasts.adoc:.adoc=.indexentry) +articles.en.podcasts.feedentry = $(articles.en.podcasts.adoc:.adoc=.feedentry) +articles.en.podcasts.categorydata = $(articles.en.podcasts.adoc:.adoc=.categorydata) src/content/en/podcasts/sortdata.txt: deps.mk - printf '%s\n' $(articles.podcasts.sortdata) > $@ + printf '%s\n' $(articles.en.podcasts.sortdata) > $@ src/content/en/podcasts/feed.xml: src/content/en/podcasts/sortdata.txt -src/content/en/podcasts/feed.xml: $(articles.podcasts.sortdata) +src/content/en/podcasts/feed.xml: $(articles.en.podcasts.sortdata) src/content/en/podcasts/index.htmllisting: src/content/en/podcasts/sortdata.txt -src/content/en/podcasts/index.htmllisting: $(articles.podcasts.sortdata) +src/content/en/podcasts/index.htmllisting: $(articles.en.podcasts.sortdata) src/content/en/podcasts/categories.htmllisting: src/content/en/podcasts/sortdata.txt -src/content/en/podcasts/categories.htmllisting: $(articles.podcasts.sortdata) +src/content/en/podcasts/categories.htmllisting: $(articles.en.podcasts.sortdata) src/content/en/podcasts/categories.txt: src/content/en/podcasts/sortdata.txt -src/content/en/podcasts/categories.txt: $(articles.podcasts.sortdata) -src/content/en/podcasts/index.htmllisting src/content/en/podcasts/categories.htmllisting: $(articles.podcasts.indexentry) -src/content/en/podcasts/categories.txt: $(articles.podcasts.categorydata) -src/content/en/podcasts/categories.txt src/content/en/podcasts/feed.xml: $(articles.podcasts.feedentry) +src/content/en/podcasts/categories.txt: $(articles.en.podcasts.sortdata) +src/content/en/podcasts/index.htmllisting src/content/en/podcasts/categories.htmllisting: $(articles.en.podcasts.indexentry) +src/content/en/podcasts/categories.txt: $(articles.en.podcasts.categorydata) +src/content/en/podcasts/categories.txt src/content/en/podcasts/feed.xml: $(articles.en.podcasts.feedentry) src/content/en/podcasts/categories.htmllisting src/content/en/podcasts/categories.xml: src/content/en/podcasts/categories.txt -articles.screencasts.adoc = \ +articles.en.screencasts.adoc = \ src/content/en/screencasts/2021/02/07/autoqemu.adoc \ -articles.screencasts.sortdata = $(articles.screencasts.adoc:.adoc=.sortdata) -articles.screencasts.indexentry = $(articles.screencasts.adoc:.adoc=.indexentry) -articles.screencasts.feedentry = $(articles.screencasts.adoc:.adoc=.feedentry) -articles.screencasts.categorydata = $(articles.screencasts.adoc:.adoc=.categorydata) +articles.en.screencasts.sortdata = $(articles.en.screencasts.adoc:.adoc=.sortdata) +articles.en.screencasts.indexentry = $(articles.en.screencasts.adoc:.adoc=.indexentry) +articles.en.screencasts.feedentry = $(articles.en.screencasts.adoc:.adoc=.feedentry) +articles.en.screencasts.categorydata = $(articles.en.screencasts.adoc:.adoc=.categorydata) src/content/en/screencasts/sortdata.txt: deps.mk - printf '%s\n' $(articles.screencasts.sortdata) > $@ + printf '%s\n' $(articles.en.screencasts.sortdata) > $@ src/content/en/screencasts/feed.xml: src/content/en/screencasts/sortdata.txt -src/content/en/screencasts/feed.xml: $(articles.screencasts.sortdata) +src/content/en/screencasts/feed.xml: $(articles.en.screencasts.sortdata) src/content/en/screencasts/index.htmllisting: src/content/en/screencasts/sortdata.txt -src/content/en/screencasts/index.htmllisting: $(articles.screencasts.sortdata) +src/content/en/screencasts/index.htmllisting: $(articles.en.screencasts.sortdata) src/content/en/screencasts/categories.htmllisting: src/content/en/screencasts/sortdata.txt -src/content/en/screencasts/categories.htmllisting: $(articles.screencasts.sortdata) +src/content/en/screencasts/categories.htmllisting: $(articles.en.screencasts.sortdata) src/content/en/screencasts/categories.txt: src/content/en/screencasts/sortdata.txt -src/content/en/screencasts/categories.txt: $(articles.screencasts.sortdata) -src/content/en/screencasts/index.htmllisting src/content/en/screencasts/categories.htmllisting: $(articles.screencasts.indexentry) -src/content/en/screencasts/categories.txt: $(articles.screencasts.categorydata) -src/content/en/screencasts/categories.txt src/content/en/screencasts/feed.xml: $(articles.screencasts.feedentry) +src/content/en/screencasts/categories.txt: $(articles.en.screencasts.sortdata) +src/content/en/screencasts/index.htmllisting src/content/en/screencasts/categories.htmllisting: $(articles.en.screencasts.indexentry) +src/content/en/screencasts/categories.txt: $(articles.en.screencasts.categorydata) +src/content/en/screencasts/categories.txt src/content/en/screencasts/feed.xml: $(articles.en.screencasts.feedentry) src/content/en/screencasts/categories.htmllisting src/content/en/screencasts/categories.xml: src/content/en/screencasts/categories.txt -articles.tils.adoc = \ +articles.en.tils.adoc = \ src/content/en/tils/2020/08/12/filename-timestamp.adoc \ src/content/en/tils/2020/08/13/code-jekyll.adoc \ src/content/en/tils/2020/08/14/browse-git.adoc \ @@ -1076,22 +1087,46 @@ articles.tils.adoc = \ src/content/en/tils/2021/07/23/git-tls-gpg.adoc \ src/content/en/tils/2021/08/11/js-bigint-reviver.adoc \ -articles.tils.sortdata = $(articles.tils.adoc:.adoc=.sortdata) -articles.tils.indexentry = $(articles.tils.adoc:.adoc=.indexentry) -articles.tils.feedentry = $(articles.tils.adoc:.adoc=.feedentry) -articles.tils.categorydata = $(articles.tils.adoc:.adoc=.categorydata) +articles.en.tils.sortdata = $(articles.en.tils.adoc:.adoc=.sortdata) +articles.en.tils.indexentry = $(articles.en.tils.adoc:.adoc=.indexentry) +articles.en.tils.feedentry = $(articles.en.tils.adoc:.adoc=.feedentry) +articles.en.tils.categorydata = $(articles.en.tils.adoc:.adoc=.categorydata) src/content/en/tils/sortdata.txt: deps.mk - printf '%s\n' $(articles.tils.sortdata) > $@ + printf '%s\n' $(articles.en.tils.sortdata) > $@ src/content/en/tils/feed.xml: src/content/en/tils/sortdata.txt -src/content/en/tils/feed.xml: $(articles.tils.sortdata) +src/content/en/tils/feed.xml: $(articles.en.tils.sortdata) src/content/en/tils/index.htmllisting: src/content/en/tils/sortdata.txt -src/content/en/tils/index.htmllisting: $(articles.tils.sortdata) +src/content/en/tils/index.htmllisting: $(articles.en.tils.sortdata) src/content/en/tils/categories.htmllisting: src/content/en/tils/sortdata.txt -src/content/en/tils/categories.htmllisting: $(articles.tils.sortdata) +src/content/en/tils/categories.htmllisting: $(articles.en.tils.sortdata) src/content/en/tils/categories.txt: src/content/en/tils/sortdata.txt -src/content/en/tils/categories.txt: $(articles.tils.sortdata) -src/content/en/tils/index.htmllisting src/content/en/tils/categories.htmllisting: $(articles.tils.indexentry) -src/content/en/tils/categories.txt: $(articles.tils.categorydata) -src/content/en/tils/categories.txt src/content/en/tils/feed.xml: $(articles.tils.feedentry) +src/content/en/tils/categories.txt: $(articles.en.tils.sortdata) +src/content/en/tils/index.htmllisting src/content/en/tils/categories.htmllisting: $(articles.en.tils.indexentry) +src/content/en/tils/categories.txt: $(articles.en.tils.categorydata) +src/content/en/tils/categories.txt src/content/en/tils/feed.xml: $(articles.en.tils.feedentry) src/content/en/tils/categories.htmllisting src/content/en/tils/categories.xml: src/content/en/tils/categories.txt + + +articles.pt.hea.adoc = \ + src/content/pt/hea/2020/08/12/arquivo-datado.adoc \ + +articles.pt.hea.sortdata = $(articles.pt.hea.adoc:.adoc=.sortdata) +articles.pt.hea.indexentry = $(articles.pt.hea.adoc:.adoc=.indexentry) +articles.pt.hea.feedentry = $(articles.pt.hea.adoc:.adoc=.feedentry) +articles.pt.hea.categorydata = $(articles.pt.hea.adoc:.adoc=.categorydata) +src/content/pt/hea/sortdata.txt: deps.mk + printf '%s\n' $(articles.pt.hea.sortdata) > $@ + +src/content/pt/hea/feed.xml: src/content/pt/hea/sortdata.txt +src/content/pt/hea/feed.xml: $(articles.pt.hea.sortdata) +src/content/pt/hea/index.htmllisting: src/content/pt/hea/sortdata.txt +src/content/pt/hea/index.htmllisting: $(articles.pt.hea.sortdata) +src/content/pt/hea/categories.htmllisting: src/content/pt/hea/sortdata.txt +src/content/pt/hea/categories.htmllisting: $(articles.pt.hea.sortdata) +src/content/pt/hea/categories.txt: src/content/pt/hea/sortdata.txt +src/content/pt/hea/categories.txt: $(articles.pt.hea.sortdata) +src/content/pt/hea/index.htmllisting src/content/pt/hea/categories.htmllisting: $(articles.pt.hea.indexentry) +src/content/pt/hea/categories.txt: $(articles.pt.hea.categorydata) +src/content/pt/hea/categories.txt src/content/pt/hea/feed.xml: $(articles.pt.hea.feedentry) +src/content/pt/hea/categories.htmllisting src/content/pt/hea/categories.xml: src/content/pt/hea/categories.txt @@ -9,19 +9,19 @@ normalize() { } pages() { - find src/pages/*/*.adoc -type f | normalize + find src/pages/*/*.adoc -type f | normalize } articles() { - find src/collections/*/*/ -type f -name '*.adoc' | normalize + find src/collections/*/*/*/ -type f -name '*.adoc' | normalize } indexes() { - find src/collections/*/index.adoc | normalize + find src/collections/*/*/index.adoc | normalize } categories() { - find src/collections/*/categories.adoc | normalize + find src/collections/*/*/categories.adoc | normalize } media() { @@ -97,13 +97,18 @@ printf '\n' media | sed 's/\(.*\)$/\1.torrent:\t\1/' printf '\n' -for colllink in src/collections/*; do + + +collectionentries() { + langlink="$1" + colllink="$2" + lang="$(basename "$langlink")" c="$(printf '%s' "$colllink" | normalize)" printf '\n\n' name="$(basename "$c")" - find "$c"/*/ -type f -name '*.adoc' | varlist "articles.$name.adoc" - art=articles # so things fit in 80 columns + art=articles."$lang" + find "$c"/*/ -type f -name '*.adoc' | varlist "$art.$name.adoc" echo "$art.$name.sortdata = \$($art.$name.adoc:.adoc=.sortdata)" echo "$art.$name.indexentry = \$($art.$name.adoc:.adoc=.indexentry)" echo "$art.$name.feedentry = \$($art.$name.adoc:.adoc=.feedentry)" @@ -111,7 +116,7 @@ for colllink in src/collections/*; do printf '%s/sortdata.txt:\tdeps.mk\n' "$c" - printf '\tprintf %s $(articles.%s.sortdata) > $@\n\n' "'%s\n'" "$name" + printf '\tprintf %s $(%s.%s.sortdata) > $@\n\n' "'%s\n'" "$art" "$name" listings=' feed.xml @@ -121,21 +126,28 @@ for colllink in src/collections/*; do ' for lst in $listings; do printf '%s/%s:\t%s/sortdata.txt\n' "$c" "$lst" "$c" - printf '%s/%s:\t$(articles.%s.sortdata)\n' "$c" "$lst" "$name" + printf '%s/%s:\t$(%s.%s.sortdata)\n' "$c" "$lst" "$art" "$name" done printf '%s/index.htmllisting\t' "$c" printf '%s/categories.htmllisting:\t' "$c" - printf '$(articles.%s.indexentry)\n' "$name" + printf '$(%s.%s.indexentry)\n' "$art" "$name" printf '%s/categories.txt:\t' "$c" - printf '$(articles.%s.categorydata)\n' "$name" + printf '$(%s.%s.categorydata)\n' "$art" "$name" printf '%s/categories.txt\t' "$c" printf '%s/feed.xml:\t' "$c" - printf '$(articles.%s.feedentry)\n' "$name" + printf '$(%s.%s.feedentry)\n' "$art" "$name" printf '%s/categories.htmllisting\t' "$c" printf '%s/categories.xml:\t' "$c" printf '%s/categories.txt\n' "$c" +} + + +for langlink in src/collections/*; do + for colllink in "$langlink"/*; do + collectionentries "$langlink" "$colllink" + done done diff --git a/src/collections/en.blog b/src/collections/en.blog deleted file mode 120000 index 92ecf5f..0000000 --- a/src/collections/en.blog +++ /dev/null @@ -1 +0,0 @@ -../content/en/blog
\ No newline at end of file diff --git a/src/collections/en.pastebins b/src/collections/en.pastebins deleted file mode 120000 index 89113e9..0000000 --- a/src/collections/en.pastebins +++ /dev/null @@ -1 +0,0 @@ -../content/en/pastebins
\ No newline at end of file diff --git a/src/collections/en.podcasts b/src/collections/en.podcasts deleted file mode 120000 index bb6be84..0000000 --- a/src/collections/en.podcasts +++ /dev/null @@ -1 +0,0 @@ -../content/en/podcasts
\ No newline at end of file diff --git a/src/collections/en.screencasts b/src/collections/en.screencasts deleted file mode 120000 index e5f0a31..0000000 --- a/src/collections/en.screencasts +++ /dev/null @@ -1 +0,0 @@ -../content/en/screencasts
\ No newline at end of file diff --git a/src/collections/en.tils b/src/collections/en.tils deleted file mode 120000 index b539f00..0000000 --- a/src/collections/en.tils +++ /dev/null @@ -1 +0,0 @@ -../content/en/tils
\ No newline at end of file diff --git a/src/collections/en/blog b/src/collections/en/blog new file mode 120000 index 0000000..973ecf5 --- /dev/null +++ b/src/collections/en/blog @@ -0,0 +1 @@ +../../content/en/blog
\ No newline at end of file diff --git a/src/collections/en/pastebins b/src/collections/en/pastebins new file mode 120000 index 0000000..162f7a3 --- /dev/null +++ b/src/collections/en/pastebins @@ -0,0 +1 @@ +../../content/en/pastebins
\ No newline at end of file diff --git a/src/collections/en/podcasts b/src/collections/en/podcasts new file mode 120000 index 0000000..247422f --- /dev/null +++ b/src/collections/en/podcasts @@ -0,0 +1 @@ +../../content/en/podcasts
\ No newline at end of file diff --git a/src/collections/en/screencasts b/src/collections/en/screencasts new file mode 120000 index 0000000..5c599b6 --- /dev/null +++ b/src/collections/en/screencasts @@ -0,0 +1 @@ +../../content/en/screencasts
\ No newline at end of file diff --git a/src/collections/en/tils b/src/collections/en/tils new file mode 120000 index 0000000..0397edb --- /dev/null +++ b/src/collections/en/tils @@ -0,0 +1 @@ +../../content/en/tils
\ No newline at end of file diff --git a/src/collections/pt/hea b/src/collections/pt/hea new file mode 120000 index 0000000..ce49d8f --- /dev/null +++ b/src/collections/pt/hea @@ -0,0 +1 @@ +../../content/pt/hea
\ No newline at end of file |