1 # Horde .mo files makefile
3 # $Horde: horde/po/Makefile,v 1.2.2.3 2002/05/20 17:36:22 jan Exp $
6 LANGS
:=$(shell ls
*.po|sed
-e s
/\.po
$$//)
8 all: banana.pot
${LANGS
:=.lang
}
13 banana.pot
: ..
/banana
/*.php
14 @echo Parsing Tree for new messages
16 @xgettext
--from-code
=iso-8859-15
-j
-k_b_
-o banana.pot
$<
18 %.lang
: banana.pot ..
/banana
/*.php
%.po
19 @echo Generating
$(@
:.lang
=.po
)
21 @mkdir
-p ..
/locale
/$(@
:.lang
=)/LC_MESSAGES
/
22 @msgmerge
-U
$(@
:lang
=po
) $< 2> /dev
/null
23 @msgfmt
--statistics
-c
-v
-o ..
/locale
/$(@
:.lang
=)/LC_MESSAGES
/banana.mo
$(@
:lang
=po
)