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: Sat, 26 Jan 2008 09:12:49 +0000

CVSROOT:        /cvsroot/trans-coord
Module name:    trans-coord
Changes by:     Yavor Doganov <yavor>   08/01/26 09:12:48

Modified files:
        gnun/prep/gnun : ChangeLog GNUmakefile 

Log message:
        Implement automatic synchronization of the original articles from
        `www'.  Intended to be run by a cron job, since paths are
        hardcoded.
        (sync): New Phony target.
        (wwwdir, orig-templates, orig-articles): New variables.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/prep/gnun/ChangeLog?cvsroot=trans-coord&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/prep/gnun/GNUmakefile?cvsroot=trans-coord&r1=1.2&r2=1.3

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/trans-coord/trans-coord/gnun/prep/gnun/ChangeLog,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- ChangeLog   14 Jan 2008 17:18:00 -0000      1.3
+++ ChangeLog   26 Jan 2008 09:12:48 -0000      1.4
@@ -1,3 +1,11 @@
+2008-01-26  Yavor Doganov  <address@hidden>
+
+       Implement automatic synchronization of the original articles from
+       `www'.  Intended to be run by a cron job, since paths are
+       hardcoded.
+       * GNUmakefile (sync): New Phony target.
+       (wwwdir, orig-templates, orig-articles): New variables.
+
 2008-01-14  Yavor Doganov  <address@hidden>
 
        * make-prototype (version-message): Update year to 2008.

Index: GNUmakefile
===================================================================
RCS file: /cvsroot/trans-coord/trans-coord/gnun/prep/gnun/GNUmakefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- GNUmakefile 13 Jan 2008 11:13:58 -0000      1.2
+++ GNUmakefile 26 Jan 2008 09:12:48 -0000      1.3
@@ -232,3 +232,17 @@
 # FIXME: This is close to hell.  There should be an easier way to do it.
 $(foreach po_base,$(ALL_POS_BASE),$(eval $(call 
article_rules,$(po_base),$(subst .,,$(suffix $(po_base))))))
 ### End of all articles' rules ###
+
+# 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, so make sure to `cvs add'/`cvs remove'
+# and commit the article when editing gnun.mk.
+wwwdir := $(rootdir)/$(rootdir)/www
+orig-templates := $(addsuffix .html,$(template_translated_base))
+orig-articles := $(addsuffix .html,$(subst /po/,/,$(ALL_BASE)))
+
+.PHONY: sync
+sync: $(rootdir)/home.shtml $(orig-templates) $(orig-articles)
+       cp -p --update $(subst $(rootdir),$(wwwdir),$<) $<
+       cvs commit -m "Automatic sync from the master `www' repository"




reply via email to

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