diff options
Diffstat (limited to 'live/draklive-install/po/Makefile')
-rw-r--r-- | live/draklive-install/po/Makefile | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/live/draklive-install/po/Makefile b/live/draklive-install/po/Makefile deleted file mode 100644 index cf94c588b..000000000 --- a/live/draklive-install/po/Makefile +++ /dev/null @@ -1,32 +0,0 @@ -NAME = draklive-install -localedir = ${prefix}/share/locale -PL_FILES = ../$(NAME) $(shell find .. -type f -name "*pm") - -MERGE_POFILES = $(shell for i in ../../../perl-install/share/po/*.po; do basename $$i; done) -POFILES = $(wildcard *.po) -MOFILES = $(POFILES:%.po=%.mo) -LANGS = $(POFILES:%.po=%) - -all: $(NAME).pot $(POFILES) $(MOFILES) - -%.mo: %.po - msgfmt -o $@ $< - -merge: $(NAME).pot - @for n in $(MERGE_POFILES); do \ - echo "Merging $$n"; \ - msgmerge "$$n" $< > "$$n"t; \ - mv -f "$$n"t "$$n"; \ - done - -$(NAME).pot: - perl_checker -q --generate-pot $@ $(PL_FILES) - -install: all - for l in $(LANGS); do \ - install -d $(localedir)/$$l/LC_MESSAGES; \ - install -m 644 $$l.mo $(localedir)/$$l/LC_MESSAGES/$(NAME).mo; \ - done - -clean: - @rm -rf *.mo $(POFILES:%=%t) |