-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
113 changed files
with
87,816 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
all: buildmo | ||
|
||
buildmo: | ||
@echo "Building the mo files" | ||
# WARNING: the second sed below will only works correctly with the languages that don't contain "-" | ||
for file in `ls po/*.po`; do \ | ||
lang=`echo $$file | sed 's@po/@@' | sed 's/\.po//' | sed 's/live-installer-//'`; \ | ||
install -d usr/share/locale/$$lang/LC_MESSAGES/; \ | ||
msgfmt -o usr/share/locale/$$lang/LC_MESSAGES/live-installer.mo $$file; \ | ||
done \ | ||
|
||
clean: | ||
rm -rf usr/share/locale |
Oops, something went wrong.