bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gettext] a .gmo file is not regenerated when its .po file chang


From: Daiki Ueno
Subject: Re: [bug-gettext] a .gmo file is not regenerated when its .po file changed
Date: Sat, 30 May 2015 06:03:22 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Benno Schulenberg <address@hidden> writes:

> Ah, but when that rule notices that none of the string content
> has changed, and does not _replace/overwrite the file, it should
> nevertheless _touch the file.

That may work with git, which doesn't record file timestamps, but might
not work with other VCS.  This is designed so, as described in the
comment of the 'stamp-po' rule (see the last sentence below):

  # stamp-po is a timestamp denoting the last time at which the CATALOGS have
  # been loosely updated. Its purpose is that when a developer or translator
  # checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
  # "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
  # invocations of "make" will do nothing. This timestamp would not be necessary
  # if updating the $(CATALOGS) would always touch them; however, the rule for
  # $(POFILES) has been designed to not touch files that don't need to be
  # changed.

Regards,
-- 
Daiki Ueno



reply via email to

[Prev in Thread] Current Thread [Next in Thread]