aboutsummaryrefslogtreecommitdiff
path: root/v2/src/bin/makemake
diff options
context:
space:
mode:
Diffstat (limited to 'v2/src/bin/makemake')
-rwxr-xr-xv2/src/bin/makemake19
1 files changed, 17 insertions, 2 deletions
diff --git a/v2/src/bin/makemake b/v2/src/bin/makemake
index 06041b0..3f4679d 100755
--- a/v2/src/bin/makemake
+++ b/v2/src/bin/makemake
@@ -182,9 +182,23 @@ for lang in $(langs); do
printf '\n'
done
+
git ls-files |
- grep '\.page' |
- sed "s|^$CONTENT_PREFIX\(.*\)\.page|\1.md|" > "$CONTENT_PREFIX"/.gitignore
+ grep '\.uncolored' |
+ varlist 'svgs.uncolored'
+# shellcheck disable=2016
+printf 'svgs = $(svgs.uncolored:.uncolored=)\n\n'
+
+
+{
+ git ls-files |
+ grep '\.page' |
+ sed "s|^$CONTENT_PREFIX\(.*\)\.page|\1.md|"
+
+ git ls-files |
+ grep '\.uncolored' |
+ sed "s|^$CONTENT_PREFIX\(.*\)\.uncolored|\1|"
+} > "$CONTENT_PREFIX"/.gitignore
for e in $(extensions '.categories' '.extrahtml' '.extrafeeds' '.index' '.xml'); do
@@ -211,4 +225,5 @@ git ls-files src/ |
git ls-files "$CONTENT_PREFIX"/ |
grep -v '\.md$' |
grep -v '\.page$' |
+ grep -v '\.uncolored$' |
varlist 'static-content'