diff options
Diffstat (limited to 'examples/local.mk')
-rw-r--r-- | examples/local.mk | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/examples/local.mk b/examples/local.mk new file mode 100644 index 0000000..f147d4a --- /dev/null +++ b/examples/local.mk @@ -0,0 +1,17 @@ +EXTRA_DIST += \ + %reldir%/proteanos-motd/motd + +FONTS_MPLUS = \ + MPLUS_1MN_MEDIUM_10x14 \ + MPLUS_1MN_REGULAR_12x17 \ + MPLUS_1MN_REGULAR_14x19 \ + MPLUS_1MN_REGULAR_16x22 + +# Update examples *in source tree*. +update-examples: + set -e; for F in $(FONTS_MPLUS); do \ + f="$$(printf '%s' "$${F}" | tr '[A-Z]' '[a-z]')"; \ + $(top_builddir)/fbcon2png -f "$${F}" \ + '$(top_srcdir)/%reldir%/proteanos-motd/motd' \ + "$(top_srcdir)/%reldir%/proteanos-motd/$${f}.png"; \ + done |