.gmo files built twice

Jon Lapham lapham at extracta.com.br
Thu May 22 11:54:49 CDT 2003


Jon Lapham wrote:
> Derek Atkins wrote:
>> Well, considering that none of the intltool code is in CVS, changing
>> it might be challenging.
>>
> 
> Yeah, I agree.  It would be nice if there was a command line argument to 
> send to intltool-update to *not* do the .pot file update.
> 

Oops, there is a way to do this without editting intltool-update.

569c569
< $(srcdir)/$(DOMAIN).pot:
---
 > $(srcdir)/$(DOMAIN).pot: $(POTFILES) $(srcdir)/POTFILES.in
576,577c576,577
<       echo "$${cdcmd}$(INTLTOOL_UPDATE) $${lang}.po"; \
<       cd $(srcdir) && $(INTLTOOL_UPDATE) $${lang};
---
 >       echo "$${cdcmd}$(INTLTOOL_UPDATE) --dist $${lang}.po"; \
 >       cd $(srcdir) && $(INTLTOOL_UPDATE) --dist $${lang};

If we pass "--dist" to intltool-update when generating the .gmo files, 
it does not rebuild the .pot file.

I propose we make these two changes to Makefile.in.in in po/

Comments?

-- 
-**-*-*---*-*---*-*---*-----*-*-----*---*-*---*-----*-----*-*-----*---
  Jon Lapham  <lapham at extracta.com.br>          Rio de Janeiro, Brasil
  Work: Extracta Moléculas Naturais SA     http://www.extracta.com.br/
  Web: http://www.jandr.org/
***-*--*----*-------*------------*--------------------*---------------




More information about the gnucash-devel mailing list