4
# Uncomment this to turn on verbose mode.
11
dh_install --fail-missing
12
appname=com.ubuntu.reminders-app; \
13
debname=reminders-app; \
14
for pofile in $(shell find ./po -name "*.po"); do \
15
pofilename="$${pofile##*/}"; \
16
langcode="$${pofilename%.*}"; \
17
localedir="debian/$$debname/usr/share/locale/$$langcode/LC_MESSAGES"; \
18
mkdir -p $$localedir; \
19
mofile="$$localedir/$$appname.mo"; \
20
msgfmt -o $$mofile $$pofile; \