summaryrefslogtreecommitdiffstats
path: root/examples/local.mk
blob: f147d4a7ed326b1f31e35fef275f80787f9d5a8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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