The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
POFILES = $(wildcard *.po)
MOFILES := $(POFILES:.po=.mo)

%.mo: %.po
	@mkdir -p locale/$*/LC_MESSAGES
	@perl -e 'use Locale::Msgfmt; msgfmt({in => $$ARGV[0], out => $$ARGV[1]});' $< locale/$*/LC_MESSAGES/Zonemaster-CLI.mo

all: ${MOFILES}