diff options
author | EuAndreh <eu@euandre.org> | 2025-04-11 19:52:05 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2025-04-11 19:52:05 -0300 |
commit | 1088d05aa8d01b9e98d495c1327f242982450f31 (patch) | |
tree | 4707f60bdc1e3b6e092691ac48426b3c0b8d4482 /mkdeps.sh | |
parent | mkdeps.sh: Put .gz at the beginning of prints (diff) | |
download | euandre.org-1088d05aa8d01b9e98d495c1327f242982450f31.tar.gz euandre.org-1088d05aa8d01b9e98d495c1327f242982450f31.tar.xz |
mkdeps.sh: Rename "listings" to "indexes"
Diffstat (limited to 'mkdeps.sh')
-rwxr-xr-x | mkdeps.sh | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -16,7 +16,7 @@ articles() { find src/collections/*/*/ -type f -name '*.adoc' | normalize } -listings() { +indexes() { find src/collections/*/index.adoc | normalize } @@ -30,24 +30,24 @@ extras() { files() { pages articles - listings + indexes } pages | varlist 'pages.adoc' articles | varlist 'articles.adoc' -listings | varlist 'listings.adoc' -listings | sed 's|/index\.adoc$|/categories.txt|' | varlist 'categories.txt' -listings | sed 's|/index\.adoc$|/feed.xml|' | varlist 'feeds.xml' +indexes | varlist 'indexes.adoc' +indexes | sed 's|/index\.adoc$|/categories.txt|' | varlist 'categories.txt' +indexes | sed 's|/index\.adoc$|/feed.xml|' | varlist 'feeds.xml' find src/content/img/ -name '*.svg' | varlist 'images.svg' extras | varlist 'sources.extras' { - files | sed 's/^\(.*\)\.adoc$/\1.html/' - files | sed 's/^\(.*\)\.adoc$/\1.snippets/' - listings | sed 's|^\(.*\)/index\.adoc$|\1/categories.xml|' - listings | sed 's|^\(.*\)/index\.adoc$|\1/feed.xml|' + files | sed 's/^\(.*\)\.adoc$/\1.html/' + files | sed 's/^\(.*\)\.adoc$/\1.snippets/' + indexes | sed 's|^\(.*\)/index\.adoc$|\1/categories.xml|' + indexes | sed 's|^\(.*\)/index\.adoc$|\1/feed.xml|' } | sed 's/^\(.*\)$/\1.gz:\t\1/' printf '\n' @@ -65,9 +65,9 @@ articles | sed 's/^\(.*\)\.adoc$/\1.sortdata:\t\1.conf/' articles | sed 's/^\(.*\)\.adoc$/\1.categorydata:\t\1.conf/' printf '\n' -listings | sed 's/^\(.*\)\.adoc$/\1.htmlheader\t\1.htmlfooter:\t\1.conf/' -listings | sed 's/^\(.*\)\.adoc$/\1.html:\t\1.htmlheader\t\1.htmlfooter/' -listings | sed 's/^\(.*\)\.adoc$/\1.html:\t\1.htmllisting\t\1.htmlbody/' +indexes | sed 's/^\(.*\)\.adoc$/\1.htmlheader\t\1.htmlfooter:\t\1.conf/' +indexes | sed 's/^\(.*\)\.adoc$/\1.html:\t\1.htmlheader\t\1.htmlfooter/' +indexes | sed 's/^\(.*\)\.adoc$/\1.html:\t\1.htmllisting\t\1.htmlbody/' printf '\n' for colllink in src/collections/*; do |