You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
625 B
28 lines
625 B
MAINTAINERCLEANFILES = Makefile.in $(PACKAGE).pot |
|
|
|
MSGFMT = msgfmt |
|
|
|
localedir = @LOCALEDIR@ |
|
locale_DATA = $(addsuffix .mo,$(ALL_LINGUAS)) |
|
|
|
EXTRA_DIST = $(PACKAGE).pot $(addsuffix .po,$(ALL_LINGUAS)) |
|
|
|
%.mo : %.po |
|
$(MSGFMT) -f -o $@ $< |
|
|
|
install-localeDATA: |
|
uninstall-localeDATA: |
|
install-data-local: |
|
for L in $(ALL_LINGUAS); do \ |
|
$(mkinstalldirs) $(DESTDIR)$(localedir)/$$L/LC_MESSAGES; \ |
|
$(INSTALL_DATA) \ |
|
$$L.mo $(DESTDIR)$(localedir)/$$L/LC_MESSAGES/$(PACKAGE).mo; \ |
|
done |
|
|
|
uninstall: |
|
for L in $(ALL_LINGUAS); do \ |
|
rm -f $(DESTDIR)$(localedir)/$$L/LC_MESSAGES/$(PACKAGE).mo; \ |
|
done |
|
|
|
clean-local: |
|
rm -f *.mo
|
|
|