Debian Codegraph @

Makefile

raw
1 all: buildmo
2
3 buildmo:
4 @echo "Building the mo files"
5 # WARNING: the second sed below will only works correctly with the languages that don't contain "-"
6 for file in `ls po/*.po`; do \
7 lang=`echo $$file | sed 's@po/@@' | sed 's/.po//' | sed 's/lightdm-settings-//'`; \
8 install -d usr/share/locale/$$lang/LC_MESSAGES/; \
9 msgfmt -o usr/share/locale/$$lang/LC_MESSAGES/lightdm-settings.mo $$file; \
10 done \
11
12 clean:
13 rm -rf usr/share/locale