trans-coord-devel
[Top][All Lists]
Advanced

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

trans-coord/gnun/prep/gnun ChangeLog GNUmakefile


From: Yavor Doganov
Subject: trans-coord/gnun/prep/gnun ChangeLog GNUmakefile
Date: Sun, 10 Feb 2008 11:58:54 +0000

CVSROOT:        /cvsroot/trans-coord
Module name:    trans-coord
Changes by:     Yavor Doganov <yavor>   08/02/10 11:58:53

Modified files:
        gnun/prep/gnun : ChangeLog GNUmakefile 

Log message:
        Various doc fixes.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/prep/gnun/ChangeLog?cvsroot=trans-coord&r1=1.42&r2=1.43
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/prep/gnun/GNUmakefile?cvsroot=trans-coord&r1=1.36&r2=1.37

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/trans-coord/trans-coord/gnun/prep/gnun/ChangeLog,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -b -r1.42 -r1.43
--- ChangeLog   10 Feb 2008 11:49:55 -0000      1.42
+++ ChangeLog   10 Feb 2008 11:58:53 -0000      1.43
@@ -1,5 +1,7 @@
 2008-02-10  Yavor Doganov  <address@hidden>
 
+       * GNUmakefile: Various doc fixes.
+
        * gnun.texi (New Translation, Migrating): Use @group in the PO
        header examples.
        (Advantages): Mention that no extra work is required to migrate

Index: GNUmakefile
===================================================================
RCS file: /cvsroot/trans-coord/trans-coord/gnun/prep/gnun/GNUmakefile,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -b -r1.36 -r1.37
--- GNUmakefile 8 Feb 2008 17:59:17 -0000       1.36
+++ GNUmakefile 10 Feb 2008 11:58:53 -0000      1.37
@@ -145,6 +145,10 @@
 # the build can continue without errors.
 # FIXME: Check if this approach works with gettext >> 0.14.
        [ -f $$@ ] || (cp $$< $$@ ; $(CVSSKIP) $(CVS) add $$@)
+# Since we handle the case when new templates are added by webmasters,
+# it is OK to ignore errors from these, at least until fencepost has
+# an old version of gettext.  The XHTML validation errors should be
+# clear even if the bug is in the server templates translations.
        -$(check-po)
        @echo Updating PO file...
        $(MSGMERGE) --update $$@ $$< && touch $$@
@@ -176,6 +180,8 @@
 
 define home_rules
 $(rootdir)/po/home.$(1).po: $(rootdir)/po/home.pot
+# This is temporary for `trans-coord'; errors should not be ignored
+# when GNUN runs in the official repository.
        -$(check-po)
        $(MSGMERGE) --update $$@ $$<
        touch $$@
@@ -210,7 +216,6 @@
 ### End of the homepages-specific rules ###
 
 ### Rules for all other articles ###
-# FIXME: Consider using implicit rules, if at all possible.
 define article_pot_rules
 $(1).proto $(1).translinks: $(subst /po/,/,$(1).html)
        $(VALIDATESKIP) $(VALIDATE-HTML) $$<
@@ -263,7 +268,7 @@
 # Special target to sync the original English articles from the `www'
 # repository.  It is intended to be invoked by a fencepost cron job
 # and will be useful even when GNUN is deployed.  Automatic adding and
-# removal is not implemented (except for the `verbatim-templates'), so
+# removal is not implemented (except adding `verbatim-templates'), so
 # make sure to `cvs add'/`cvs remove' and commit the article when
 # editing gnun.mk.
 wwwdir := $(rootdir)/$(rootdir)/www
@@ -278,6 +283,8 @@
 
 .PHONY: sync
 sync: 
+# Synchronize all articles and report if an article has been deleted
+# from the master repository.
        for file in $(abs-files-to-sync) ; do \
          if [ ! -f $(wwwdir)/$$file ] ; then \
            echo "Warning: $$file missing in www; update the variable?" \
@@ -285,6 +292,8 @@
          else \
            cp -p --update $(wwwdir)/$$file $(rootdir)/$$file ; \
          fi ; done
+# Copy all necessary templates that are not under GNUN's control and
+# `cvs add' them if VCS=yes.
        for t in $(verbatim-templates) ; do \
          if [ ! -f $(rootdir)/$$t ] ; then \
            cp -p $(wwwdir)/$$t $(rootdir)/$$t \




reply via email to

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