diff options
author | Arnaud Desmons <adesmons@mandriva.com> | 2002-08-09 08:39:32 +0000 |
---|---|---|
committer | Arnaud Desmons <adesmons@mandriva.com> | 2002-08-09 08:39:32 +0000 |
commit | 15bb8f0ef337da55d96f8ae0884565759d6f76d5 (patch) | |
tree | 1179f81847f841d0b1f26d44ca453ac206bf8985 | |
parent | bb34aac5205a97c28317f0826cf489c787b48cd3 (diff) | |
download | drakwizard-15bb8f0ef337da55d96f8ae0884565759d6f76d5.tar drakwizard-15bb8f0ef337da55d96f8ae0884565759d6f76d5.tar.gz drakwizard-15bb8f0ef337da55d96f8ae0884565759d6f76d5.tar.bz2 drakwizard-15bb8f0ef337da55d96f8ae0884565759d6f76d5.tar.xz drakwizard-15bb8f0ef337da55d96f8ae0884565759d6f76d5.zip |
plagiarized from urpmi
-rw-r--r-- | po/Makefile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/po/Makefile b/po/Makefile new file mode 100644 index 00000000..52fc189e --- /dev/null +++ b/po/Makefile @@ -0,0 +1,25 @@ +# Installation directories +localedir = $(PREFIX)/usr/share/locale + +LANGS = $(shell ls *.po | xargs -i basename {} .po ) +PGOAL = drakwizard +GOALS = $(foreach a, $(LANGS), $(a).mo) + + +all: $(GOALS) + +install: all + for l in $(LANGS); do \ + install -d $(localedir)/$$l/LC_MESSAGES; \ + install -m 644 $$l.mo $(localedir)/$$l/LC_MESSAGES/$(PGOAL).mo; \ + done + +clean: + rm -f *~ *.[oas] *.mo $(GOALS) TAGS + +%.h: + @touch $@ + +%.mo: %.po + msgfmt -o $@ $< + |