[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Invoking xgettext with many files
From: |
Dave Patton |
Subject: |
Re: Invoking xgettext with many files |
Date: |
Sat, 10 Dec 2005 16:27:59 GMT |
User-agent: |
Xnews/??.01.30 |
Dominik Wallner <dominikob@yahoo.de> wrote in
news:dnbhs5$cv$1@newsreader1.utanet.at:
> Hi!
>
> I'm just stuck in the process of internationalizing one of my projects;
> I did any changes to the source code, linked against libintl, and so on
> following the GNU gettext manual.
>
> Now I'm at the point where I need a POT file generated by xgettext, but
> it seems as if I had to list all source files manually; I couldn't
> figure out how to have this done automatically.
Make use of the --files-from switch.
For example, if the source files in your project
are in C, and have the extension ".c":
find . -name "*.cs" -print > mylist
then use
--files-from=/path/to/mylist
--
Dave Patton
Canadian Coordinator, Degree Confluence Project
http://www.confluence.org/
My website: http://members.shaw.ca/davepatton/