diff options
Diffstat (limited to 'v2/src/bin/makemake')
-rwxr-xr-x | v2/src/bin/makemake | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/v2/src/bin/makemake b/v2/src/bin/makemake index 3f4679d..22e92c9 100755 --- a/v2/src/bin/makemake +++ b/v2/src/bin/makemake @@ -136,6 +136,10 @@ for lang in $(langs); do echo "$CONTENT_PREFIX/$lang/${coll_path}index.extrahtml: $CONTENT_PREFIX/$lang/${coll_path}index.html" echo "$CONTENT_PREFIX/$lang/${coll_path}index.extrafeeds: $CONTENT_PREFIX/$lang/${coll_path}feed.xml" + + echo "$CONTENT_PREFIX/$lang/${coll_path}index.series: \$($c.$lang.conf)" + echo "\$($c.$lang.html): $CONTENT_PREFIX/$lang/${coll_path}index.series" + printf '\n\n' done @@ -152,6 +156,11 @@ for lang in $(langs); do collections | xargs -I% coll2path "$lang" % | + sed "s|^\(.*\)\$|$CONTENT_PREFIX/$lang/\1index.series|" | + varlist "all-generated.$lang.series" + + collections | + xargs -I% coll2path "$lang" % | sed "s|^\(.*\)\$|$CONTENT_PREFIX/$lang/\1index.categories|" | varlist "all-generated.$lang.categories" @@ -175,10 +184,11 @@ for lang in $(langs); do sed "s|^\(.*\)\$|$CONTENT_PREFIX/$lang/\1feed.xml|" | varlist "all-generated.$lang.xml" - extensions '.categories' '.extrahtml' '.extrafeeds' '.index' '.xml' | + extensions '.series' '.categories' '.extrahtml' '.extrafeeds' '.index' '.xml' | sed "s|^\(.*\)\$|\$(all-generated.$lang\1)|" | varlist "all-generated.$lang" + printf '\n' done @@ -201,7 +211,7 @@ printf 'svgs = $(svgs.uncolored:.uncolored=)\n\n' } > "$CONTENT_PREFIX"/.gitignore -for e in $(extensions '.categories' '.extrahtml' '.extrafeeds' '.index' '.xml'); do +for e in $(extensions '.series' '.categories' '.extrahtml' '.extrafeeds' '.index' '.xml'); do langs | sed "s|^\(.*\)\$|\$(all-generated.\1$e)|" | varlist "all-generated$e" |