1 # title makefile for po
9 POT_FILES
= $(wildcard *.pot
)
10 PO_FILES
= $(wildcard *.po
)
11 MO_FILES
= $(addprefix $(outdir
)/, $(PO_FILES
:.po
=.mo
))
12 HELP_CATALOGS
= $(PO_FILES
:%.po
=%)
13 CATALOGS
= $(HELP_CATALOGS
:lilypond
=)
14 EXTRA_DIST_FILES
= TODO
$(PO_FILES
) $(POT_FILES
)
15 STEPMAKE_TEMPLATES
=podir
17 include $(depth
)/make
/stepmake.make
21 local-install
: $(MO_FILES
)
22 for i in
$(CATALOGS
); do \
23 $(INSTALL
) -d
$(localedir
)/$$i/LC_MESSAGES
; \
24 $(INSTALL
) -m
644 $(outdir
)/$$i.mo \
25 $(localedir
)/$$i/LC_MESSAGES
/$(package
).mo
; \
29 for i in
$(CATALOGS
); do \
30 rm -f
$(localedir
)/$$i/LC_MESSAGES
/$(package
).mo
; \
31 rmdir
$(localedir
)/$$i/LC_MESSAGES || true
; \