mirror of
https://github.com/MidnightCommander/mc
synced 2025-02-09 11:54:12 +03:00
![Evgeny Grin](/assets/img/avatar_default.png)
'po' directory does not use automake assignment. This is a correction for f45d02ba2ad00175874c77a76481678498fd0abb. Closes MidnightCommander/mc#191. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
14 lines
637 B
Plaintext
14 lines
637 B
Plaintext
|
|
update-po: Makefile
|
|
$(MAKE) $(DOMAIN).pot-update && \
|
|
$${SED-sed} \
|
|
-e '/#, fuzzy/d' \
|
|
-e 's/Project-Id-Version: PACKAGE VERSION/Project-Id-Version: $(PACKAGE) $(VERSION)/' \
|
|
-e 's/^"Plural-Forms: nplurals=INTEGER;/# "Plural-Forms: nplurals=INTEGER;/' \
|
|
-e 's@Content-Type: text/plain; charset=CHARSET@Content-Type: text/plain; charset=utf-8@' \
|
|
< $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
|
|
mv -f $(DOMAIN).1po $(srcdir)/$(DOMAIN).pot
|
|
test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES)
|
|
$(MAKE) update-gmo && \
|
|
for i in $(srcdir)/*.po; do sed '/^#\:/d' < $$i > $$i.clean && mv -f $$i.clean $$i; done
|