Problem with GETTEXT_PROCESS_PO_FILES

Tom Albers tomalbers at kde.nl
Tue Nov 20 19:07:48 GMT 2007


Hi, 

I've found a problem within this macro. 
The macro expands to a certain line in MakeFiles/pofiles.dir/build.make:

cd $BUILD_DIR/po/nl && /usr/bin/msgfmt -o $BUILD_DIR/po/nl/$FILE.gmo $FILE.po

Which is wrong because $FILE.po is located in the source dir, not in the BUILD_DIR. 

I would like to have the 'cd' command changed to the source dir, but i fail to see how to do that. I've attached a patch for a work around. 

Best, 

Toma
-------------- next part --------------
A non-text attachment was scrubbed...
Name: findgettext.diff
Type: text/x-diff
Size: 689 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20071120/39c0c5e0/attachment.diff>


More information about the kde-core-devel mailing list