summaryrefslogtreecommitdiff
path: root/deps.mk
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-04-11 13:12:06 -0300
committerEuAndreh <eu@euandre.org>2025-04-11 14:51:32 -0300
commit94413ad645a866f8052a7cb67a188a8a0763104c (patch)
treed830bc7371737573cf5c0df7d98149ac9ff14afe /deps.mk
parentsrc/content/: Make categories URL-friendly (diff)
downloadeuandre.org-94413ad645a866f8052a7cb67a188a8a0763104c.tar.gz
euandre.org-94413ad645a866f8052a7cb67a188a8a0763104c.tar.xz
Makefile: Generate a feed per category
Diffstat (limited to 'deps.mk')
-rw-r--r--deps.mk141
1 files changed, 116 insertions, 25 deletions
diff --git a/deps.mk b/deps.mk
index dee7b30..c20c982 100644
--- a/deps.mk
+++ b/deps.mk
@@ -75,6 +75,13 @@ listings.adoc = \
src/content/screencasts/index.adoc \
src/content/tils/index.adoc \
+categories.txt = \
+ src/content/blog/categories.txt \
+ src/content/pastebins/categories.txt \
+ src/content/podcasts/categories.txt \
+ src/content/screencasts/categories.txt \
+ src/content/tils/categories.txt \
+
feeds.xml = \
src/content/blog/feed.xml \
src/content/pastebins/feed.xml \
@@ -390,6 +397,11 @@ src/content/pastebins/index.snippets.gz: src/content/pastebins/index.snippets
src/content/podcasts/index.snippets.gz: src/content/podcasts/index.snippets
src/content/screencasts/index.snippets.gz: src/content/screencasts/index.snippets
src/content/tils/index.snippets.gz: src/content/tils/index.snippets
+src/content/blog/categories.xml.gz: src/content/blog/categories.xml
+src/content/pastebins/categories.xml.gz: src/content/pastebins/categories.xml
+src/content/podcasts/categories.xml.gz: src/content/podcasts/categories.xml
+src/content/screencasts/categories.xml.gz: src/content/screencasts/categories.xml
+src/content/tils/categories.xml.gz: src/content/tils/categories.xml
src/content/blog/feed.xml.gz: src/content/blog/feed.xml
src/content/pastebins/feed.xml.gz: src/content/pastebins/feed.xml
src/content/podcasts/feed.xml.gz: src/content/podcasts/feed.xml
@@ -738,6 +750,70 @@ src/content/tils/2021/04/24/clojure-autocurry.sortdata: src/content/tils/2021/04
src/content/tils/2021/04/24/scm-nif.sortdata: src/content/tils/2021/04/24/scm-nif.conf
src/content/tils/2021/07/23/git-tls-gpg.sortdata: src/content/tils/2021/07/23/git-tls-gpg.conf
src/content/tils/2021/08/11/js-bigint-reviver.sortdata: src/content/tils/2021/08/11/js-bigint-reviver.conf
+src/content/blog/2018/07/17/guix-nixos.categorydata: src/content/blog/2018/07/17/guix-nixos.conf
+src/content/blog/2018/08/01/npm-ci-reproducibility.categorydata: src/content/blog/2018/08/01/npm-ci-reproducibility.conf
+src/content/blog/2018/12/21/ytdl-subs.categorydata: src/content/blog/2018/12/21/ytdl-subs.conf
+src/content/blog/2019/06/02/nixos-stateless-workstation.categorydata: src/content/blog/2019/06/02/nixos-stateless-workstation.conf
+src/content/blog/2020/08/10/guix-srht.categorydata: src/content/blog/2020/08/10/guix-srht.conf
+src/content/blog/2020/08/31/database-i-wish-i-had.categorydata: src/content/blog/2020/08/31/database-i-wish-i-had.conf
+src/content/blog/2020/10/05/cargo2nix.categorydata: src/content/blog/2020/10/05/cargo2nix.conf
+src/content/blog/2020/10/05/swift2nix.categorydata: src/content/blog/2020/10/05/swift2nix.conf
+src/content/blog/2020/10/19/feature-flags.categorydata: src/content/blog/2020/10/19/feature-flags.conf
+src/content/blog/2020/10/20/wrong-interviewing.categorydata: src/content/blog/2020/10/20/wrong-interviewing.conf
+src/content/blog/2020/11/07/diy-bugs.categorydata: src/content/blog/2020/11/07/diy-bugs.conf
+src/content/blog/2020/11/08/paradigm-shift-review.categorydata: src/content/blog/2020/11/08/paradigm-shift-review.conf
+src/content/blog/2020/11/12/database-parsers-trees.categorydata: src/content/blog/2020/11/12/database-parsers-trees.conf
+src/content/blog/2020/11/14/local-first-review.categorydata: src/content/blog/2020/11/14/local-first-review.conf
+src/content/blog/2021/01/26/remembering-ann.categorydata: src/content/blog/2021/01/26/remembering-ann.conf
+src/content/blog/2021/02/17/fallible.categorydata: src/content/blog/2021/02/17/fallible.conf
+src/content/blog/2021/04/29/relational-review.categorydata: src/content/blog/2021/04/29/relational-review.conf
+src/content/pastebins/2016/04/05/rpn.categorydata: src/content/pastebins/2016/04/05/rpn.conf
+src/content/pastebins/2018/07/11/nix-pinning.categorydata: src/content/pastebins/2018/07/11/nix-pinning.conf
+src/content/pastebins/2018/07/13/guix-nixos-systemd.categorydata: src/content/pastebins/2018/07/13/guix-nixos-systemd.conf
+src/content/pastebins/2018/07/13/guixbuilder-nixos.categorydata: src/content/pastebins/2018/07/13/guixbuilder-nixos.conf
+src/content/pastebins/2018/07/13/guixbuilder.categorydata: src/content/pastebins/2018/07/13/guixbuilder.conf
+src/content/pastebins/2018/07/13/nix-strpad.categorydata: src/content/pastebins/2018/07/13/nix-strpad.conf
+src/content/pastebins/2018/07/25/nix-exps.categorydata: src/content/pastebins/2018/07/25/nix-exps.conf
+src/content/pastebins/2018/07/25/nix-showdrv.categorydata: src/content/pastebins/2018/07/25/nix-showdrv.conf
+src/content/pastebins/2019/06/08/inconsistent-hash.categorydata: src/content/pastebins/2019/06/08/inconsistent-hash.conf
+src/content/pastebins/2019/12/29/raku-tuple-type.categorydata: src/content/pastebins/2019/12/29/raku-tuple-type.conf
+src/content/pastebins/2020/01/04/guix-import-failure.categorydata: src/content/pastebins/2020/01/04/guix-import-failure.conf
+src/content/pastebins/2020/02/14/guix-shebang.categorydata: src/content/pastebins/2020/02/14/guix-shebang.conf
+src/content/pastebins/2020/11/27/guix-build-local.categorydata: src/content/pastebins/2020/11/27/guix-build-local.conf
+src/content/pastebins/2020/12/15/guix-pack-fail.categorydata: src/content/pastebins/2020/12/15/guix-pack-fail.conf
+src/content/pastebins/2021/04/03/naive-slugify-js.categorydata: src/content/pastebins/2021/04/03/naive-slugify-js.conf
+src/content/pastebins/2021/06/08/reading-session-pt1.categorydata: src/content/pastebins/2021/06/08/reading-session-pt1.conf
+src/content/pastebins/2021/06/22/curl-wget.categorydata: src/content/pastebins/2021/06/22/curl-wget.conf
+src/content/pastebins/2021/08/11/h1-spacing.categorydata: src/content/pastebins/2021/08/11/h1-spacing.conf
+src/content/pastebins/2021/09/02/sicp-3-19.categorydata: src/content/pastebins/2021/09/02/sicp-3-19.conf
+src/content/pastebins/2021/09/03/sicp-persistent-queue.categorydata: src/content/pastebins/2021/09/03/sicp-persistent-queue.conf
+src/content/pastebins/2022/07/14/git-cleanup.categorydata: src/content/pastebins/2022/07/14/git-cleanup.conf
+src/content/pastebins/2023/07/22/funcallable-amop.categorydata: src/content/pastebins/2023/07/22/funcallable-amop.conf
+src/content/podcasts/2020/12/19/test-entry.categorydata: src/content/podcasts/2020/12/19/test-entry.conf
+src/content/screencasts/2021/02/07/autoqemu.categorydata: src/content/screencasts/2021/02/07/autoqemu.conf
+src/content/tils/2020/08/12/filename-timestamp.categorydata: src/content/tils/2020/08/12/filename-timestamp.conf
+src/content/tils/2020/08/13/code-jekyll.categorydata: src/content/tils/2020/08/13/code-jekyll.conf
+src/content/tils/2020/08/14/browse-git.categorydata: src/content/tils/2020/08/14/browse-git.conf
+src/content/tils/2020/08/16/git-search.categorydata: src/content/tils/2020/08/16/git-search.conf
+src/content/tils/2020/08/28/grep-online.categorydata: src/content/tils/2020/08/28/grep-online.conf
+src/content/tils/2020/09/04/cli-email-fun-profit.categorydata: src/content/tils/2020/09/04/cli-email-fun-profit.conf
+src/content/tils/2020/09/05/oldschool-pr.categorydata: src/content/tils/2020/09/05/oldschool-pr.conf
+src/content/tils/2020/10/11/search-git-history.categorydata: src/content/tils/2020/10/11/search-git-history.conf
+src/content/tils/2020/11/08/find-broken-symlink.categorydata: src/content/tils/2020/11/08/find-broken-symlink.conf
+src/content/tils/2020/11/12/diy-nix-bash-ci.categorydata: src/content/tils/2020/11/12/diy-nix-bash-ci.conf
+src/content/tils/2020/11/12/git-bisect-automation.categorydata: src/content/tils/2020/11/12/git-bisect-automation.conf
+src/content/tils/2020/11/12/useful-bashvars.categorydata: src/content/tils/2020/11/12/useful-bashvars.conf
+src/content/tils/2020/11/14/gpodder-media.categorydata: src/content/tils/2020/11/14/gpodder-media.conf
+src/content/tils/2020/11/30/git-notes-ci.categorydata: src/content/tils/2020/11/30/git-notes-ci.conf
+src/content/tils/2020/12/15/shellcheck-repo.categorydata: src/content/tils/2020/12/15/shellcheck-repo.conf
+src/content/tils/2020/12/29/svg.categorydata: src/content/tils/2020/12/29/svg.conf
+src/content/tils/2021/01/12/curl-awk-emails.categorydata: src/content/tils/2021/01/12/curl-awk-emails.conf
+src/content/tils/2021/01/17/posix-shebang.categorydata: src/content/tils/2021/01/17/posix-shebang.conf
+src/content/tils/2021/04/24/cl-generic-precedence.categorydata: src/content/tils/2021/04/24/cl-generic-precedence.conf
+src/content/tils/2021/04/24/clojure-autocurry.categorydata: src/content/tils/2021/04/24/clojure-autocurry.conf
+src/content/tils/2021/04/24/scm-nif.categorydata: src/content/tils/2021/04/24/scm-nif.conf
+src/content/tils/2021/07/23/git-tls-gpg.categorydata: src/content/tils/2021/07/23/git-tls-gpg.conf
+src/content/tils/2021/08/11/js-bigint-reviver.categorydata: src/content/tils/2021/08/11/js-bigint-reviver.conf
src/content/blog/index.htmlheader src/content/blog/index.htmlfooter: src/content/blog/index.conf
src/content/pastebins/index.htmlheader src/content/pastebins/index.htmlfooter: src/content/pastebins/index.conf
@@ -775,15 +851,18 @@ articles.blog.adoc = \
src/content/blog/2021/02/17/fallible.adoc \
src/content/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.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)
src/content/blog/sortdata.txt: deps.mk
printf '%s\n' $(articles.blog.sortdata) > $@
-src/content/blog/feed.xml src/content/blog/index.htmllisting: src/content/blog/sortdata.txt $(articles.blog.sortdata)
+src/content/blog/categories.txt src/content/blog/feed.xml src/content/blog/index.htmllisting: src/content/blog/sortdata.txt $(articles.blog.sortdata)
src/content/blog/index.htmllisting: $(articles.blog.indexentry)
-src/content/blog/feed.xml: $(articles.blog.feedentry)
+src/content/blog/categories.txt: $(articles.blog.categorydata)
+src/content/blog/categories.xml: src/content/blog/categories.txt
+src/content/blog/categories.txt src/content/blog/feed.xml: $(articles.blog.feedentry)
articles.pastebins.adoc = \
@@ -810,43 +889,52 @@ articles.pastebins.adoc = \
src/content/pastebins/2022/07/14/git-cleanup.adoc \
src/content/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.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)
src/content/pastebins/sortdata.txt: deps.mk
printf '%s\n' $(articles.pastebins.sortdata) > $@
-src/content/pastebins/feed.xml src/content/pastebins/index.htmllisting: src/content/pastebins/sortdata.txt $(articles.pastebins.sortdata)
+src/content/pastebins/categories.txt src/content/pastebins/feed.xml src/content/pastebins/index.htmllisting: src/content/pastebins/sortdata.txt $(articles.pastebins.sortdata)
src/content/pastebins/index.htmllisting: $(articles.pastebins.indexentry)
-src/content/pastebins/feed.xml: $(articles.pastebins.feedentry)
+src/content/pastebins/categories.txt: $(articles.pastebins.categorydata)
+src/content/pastebins/categories.xml: src/content/pastebins/categories.txt
+src/content/pastebins/categories.txt src/content/pastebins/feed.xml: $(articles.pastebins.feedentry)
articles.podcasts.adoc = \
src/content/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.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)
src/content/podcasts/sortdata.txt: deps.mk
printf '%s\n' $(articles.podcasts.sortdata) > $@
-src/content/podcasts/feed.xml src/content/podcasts/index.htmllisting: src/content/podcasts/sortdata.txt $(articles.podcasts.sortdata)
+src/content/podcasts/categories.txt src/content/podcasts/feed.xml src/content/podcasts/index.htmllisting: src/content/podcasts/sortdata.txt $(articles.podcasts.sortdata)
src/content/podcasts/index.htmllisting: $(articles.podcasts.indexentry)
-src/content/podcasts/feed.xml: $(articles.podcasts.feedentry)
+src/content/podcasts/categories.txt: $(articles.podcasts.categorydata)
+src/content/podcasts/categories.xml: src/content/podcasts/categories.txt
+src/content/podcasts/categories.txt src/content/podcasts/feed.xml: $(articles.podcasts.feedentry)
articles.screencasts.adoc = \
src/content/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.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)
src/content/screencasts/sortdata.txt: deps.mk
printf '%s\n' $(articles.screencasts.sortdata) > $@
-src/content/screencasts/feed.xml src/content/screencasts/index.htmllisting: src/content/screencasts/sortdata.txt $(articles.screencasts.sortdata)
+src/content/screencasts/categories.txt src/content/screencasts/feed.xml src/content/screencasts/index.htmllisting: src/content/screencasts/sortdata.txt $(articles.screencasts.sortdata)
src/content/screencasts/index.htmllisting: $(articles.screencasts.indexentry)
-src/content/screencasts/feed.xml: $(articles.screencasts.feedentry)
+src/content/screencasts/categories.txt: $(articles.screencasts.categorydata)
+src/content/screencasts/categories.xml: src/content/screencasts/categories.txt
+src/content/screencasts/categories.txt src/content/screencasts/feed.xml: $(articles.screencasts.feedentry)
articles.tils.adoc = \
@@ -874,12 +962,15 @@ articles.tils.adoc = \
src/content/tils/2021/07/23/git-tls-gpg.adoc \
src/content/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.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)
src/content/tils/sortdata.txt: deps.mk
printf '%s\n' $(articles.tils.sortdata) > $@
-src/content/tils/feed.xml src/content/tils/index.htmllisting: src/content/tils/sortdata.txt $(articles.tils.sortdata)
+src/content/tils/categories.txt src/content/tils/feed.xml src/content/tils/index.htmllisting: src/content/tils/sortdata.txt $(articles.tils.sortdata)
src/content/tils/index.htmllisting: $(articles.tils.indexentry)
-src/content/tils/feed.xml: $(articles.tils.feedentry)
+src/content/tils/categories.txt: $(articles.tils.categorydata)
+src/content/tils/categories.xml: src/content/tils/categories.txt
+src/content/tils/categories.txt src/content/tils/feed.xml: $(articles.tils.feedentry)