f30c137391
* Python verification (pychecker) removed from check-local target to become part of the pycheck target heiarchy. Each subdir now has a GRAMPS_PY_MODPATH variable that indicates a colon-separated path for the PYTHONPATH environment to allow module importing to work. svn: r1559
24 lines
612 B
Makefile
24 lines
612 B
Makefile
# This is the src/po level Makefile configuration
|
|
EXTRA_DIST = $(POFILES) template.po
|
|
CLEANFILES = $(MOFILES)
|
|
|
|
all-local: $(MOFILES)
|
|
|
|
install-data-local:
|
|
for lang in $(LANGUAGES); do \
|
|
$(INSTALL) -d $(DESTDIR)$(prefix)/share/locale/$$lang; \
|
|
$(INSTALL) -d $(DESTDIR)$(prefix)/share/locale/$$lang/LC_MESSAGES; \
|
|
$(INSTALL_DATA) $$lang.mo $(DESTDIR)$(prefix)/share/locale/$$lang/LC_MESSAGES/$(PACKAGE).mo; \
|
|
done
|
|
|
|
uninstall-local:
|
|
for lang in $(LANGUAGES); do \
|
|
rm -f $(DESTDIR)$(prefix)/share/locale/$$lang/LC_MESSAGES/gramps.mo; \
|
|
done
|
|
|
|
|
|
SUFFIXES = .po .mo
|
|
|
|
.po.mo:
|
|
$(MSGFMT) -v $< -o $@
|