This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Script to update gcc.pot


On Thu, 8 Nov 2001, Zack Weinberg wrote:

> +    # Make left an updated potfile in $BUILD/po.  Move it over
> +    # to the source directory, if it changed.
> +    $SRC/move-if-change $BUILD/po/$TARGET $SRC/po/$TARGET
> +
> +    # cvs commit won't do anything if the file is unchanged.
> +    cvs -f commit -m"Automatically regenerated." $SRC/po/$TARGET

The .pot file contains a POT-Creation-Date line - so will this actually
work?  We don't really want excess commits of a .pot file that differs
only in its date.

-- 
Joseph S. Myers
jsm28@cam.ac.uk


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]