* debian/rules: fix update-pot section of rules file; previous code

was only actually gathering messages from the last file input 
    (byobu-config); this joins the code properly


Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
Dustin Kirkland 2009-07-24 08:55:36 -05:00
commit 75a5f70ab8
4 changed files with 8 additions and 7 deletions

7
debian/changelog vendored
View file

@ -6,7 +6,12 @@ byobu (2.24) unreleased; urgency=low
screen's manpage; wrap $STY in double quotes; use -n rather than -z;
LP: #403988, LP: #403809
-- Dustin Kirkland <kirkland@ubuntu.com> Fri, 24 Jul 2009 08:29:49 -0500
[ Dustin Kirkland ]
* debian/rules: fix update-pot section of rules file; previous code
was only actually gathering messages from the last file input
(byobu-config); this joins the code properly
-- Dustin Kirkland <kirkland@ubuntu.com> Fri, 24 Jul 2009 08:54:31 -0500
byobu (2.23-0ubuntu1) karmic; urgency=low

8
debian/rules vendored
View file

@ -20,12 +20,8 @@ install-po: update-pot
update-pot:
rm -f po/${PKG}.pot
grep -v "^#" po/POTFILES.sh | while read po ; do \
xgettext -o po/${PKG}.pot -L Shell $${po} ; \
done
grep -v "^#" po/POTFILES.python | while read po ; do \
xgettext -o po/${PKG}.pot -L Python $${po} ; \
done
xgettext -f po/POTFILES.Shell -o po/${PKG}.pot -L Shell
xgettext -f po/POTFILES.Python -o po/${PKG}.pot -L Python -j
for po in po/*.po ; do \
msgmerge $${po} po/${PKG}.pot -o $${po} ; \
done