aboutsummaryrefslogtreecommitdiff
path: root/v2/src/bin
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xv2/src/bin/makemake17
1 files changed, 15 insertions, 2 deletions
diff --git a/v2/src/bin/makemake b/v2/src/bin/makemake
index c6e3407..3956844 100755
--- a/v2/src/bin/makemake
+++ b/v2/src/bin/makemake
@@ -144,6 +144,17 @@ for lang in $(langs); do
printf '\n\n'
done
+ coll_path="$(coll2path "$lang" slide)"
+ git ls-files "$CONTENT_PREFIX/$lang/$coll_path"*.slides |
+ varlist "slide.$lang.slides"
+ git ls-files "$CONTENT_PREFIX/$lang/$coll_path"*.slides |
+ sed 's/^\(.*\)\.slides$/\1.pdf: \1.ps/'
+ printf '\n\n'
+
+ echo "slide.$lang.pdf = \$(slide.$lang.slides:.slides=.pdf)"
+ echo "all-generated.$lang.slides = \$(slide.$lang.slides)"
+ echo "all-generated.$lang.pdf = \$(slide.$lang.pdf)"
+
for e in $(extensions); do
{
if ! printf '%s\n' "$e" | grep -qE "$page_ext_filter"; then
@@ -185,7 +196,7 @@ for lang in $(langs); do
sed "s|^\(.*\)\$|$CONTENT_PREFIX/$lang/\1feed.xml|" |
varlist "all-generated.$lang.xml"
- extensions '.series' '.categories' '.extrahtml' '.extrafeeds' '.index' '.xml' |
+ extensions '.series' '.categories' '.extrahtml' '.extrafeeds' '.index' '.xml' '.pdf' |
sed "s|^\(.*\)\$|\$(all-generated.$lang\1)|" |
varlist "all-generated.$lang"
@@ -212,7 +223,7 @@ printf 'svgs = $(svgs.uncolored:.uncolored=)\n\n'
} > "$CONTENT_PREFIX"/.gitignore
-for e in $(extensions '.series' '.categories' '.extrahtml' '.extrafeeds' '.index' '.xml'); do
+for e in $(extensions '.series' '.categories' '.extrahtml' '.extrafeeds' '.index' '.xml' '.pdf'); do
langs |
sed "s|^\(.*\)\$|\$(all-generated.\1$e)|" |
varlist "all-generated$e"
@@ -237,4 +248,6 @@ git ls-files "$CONTENT_PREFIX"/ |
grep -v '\.md$' |
grep -v '\.page$' |
grep -v '\.uncolored$' |
+ grep -v '\.slides$' |
+ grep -v '\.ps$' |
varlist 'static-content'