1 # title makefile for po
9 PO_FILES
= $(wildcard *.po
)
10 MO_FILES
= $(addprefix $(outdir
)/, $(PO_FILES
:.po
=.mo
))
11 HELP_CATALOGS
= $(PO_FILES
:%.po
=%)
12 CATALOGS
= $(HELP_CATALOGS
:lilypond
=)
13 EXTRA_DIST_FILES
= TODO
$(PO_FILES
)
15 include $(depth
)/make
/Stepmake.make
16 include $(stepdir
)/Po_rules.make
20 localinstall
: $(MO_FILES
)
21 for i in
$(CATALOGS
); do \
22 $(INSTALL
) -d
$(localedir
)/$$i/LC_MESSAGES
; \
23 $(INSTALL
) -m
644 $(outdir
)/$$i.mo \
24 $(localedir
)/$$i/LC_MESSAGES
/$(package
).mo
; \
28 for i in
$(CATALOGS
); do \
29 rm -f
$(localedir
)/$$i/LC_MESSAGES
/$(package
).mo
; \
30 rmdir
$(localedir
)/$$i/LC_MESSAGES || true
; \