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: Mon, 04 Feb 2008 16:40:42 +0000

CVSROOT:        /sources/trans-coord
Module name:    trans-coord
Changes by:     Yavor Doganov <yavor>   08/02/04 16:40:42

Modified files:
        gnun/prep/gnun : ChangeLog GNUmakefile 

Log message:
        (sync): If the file to sync was deleted from the
        `www' repository, send a warning mail to the list instead of
        failing with an error.  Use $(CVSSKIP) to suppress the mail and
        commiting the synced files.
        (devel_addr): New variable.

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

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/prep/gnun/ChangeLog,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -b -r1.24 -r1.25
--- ChangeLog   1 Feb 2008 21:39:51 -0000       1.24
+++ ChangeLog   4 Feb 2008 16:40:42 -0000       1.25
@@ -1,3 +1,11 @@
+2008-02-04  Yavor Doganov  <address@hidden>
+
+       * GNUmakefile (sync): If the file to sync was deleted from the
+       `www' repository, send a warning mail to the list instead of
+       failing with an error.  Use $(CVSSKIP) to suppress the mail and
+       commiting the synced files.
+       (devel_addr): New variable.
+
 2008-02-01  Yavor Doganov  <address@hidden>
 
        * GNUmakefile (template_files, sync): Revert last change; test

Index: GNUmakefile
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/prep/gnun/GNUmakefile,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- GNUmakefile 1 Feb 2008 21:39:52 -0000       1.25
+++ GNUmakefile 4 Feb 2008 16:40:42 -0000       1.26
@@ -39,6 +39,9 @@
 CVSSKIP := echo "SKIP:"
 endif
 
+# Email addresses for notifications.
+devel_addr := address@hidden
+
 rootdir := ../..
 
 # FIXME: footer-short and footer-min are remnants from the old-new
@@ -242,6 +245,12 @@
 .PHONY: sync
 sync: 
        for file in $(abs-files-to-sync) ; do \
-         cp -p --update $(wwwdir)/$$file $(rootdir)/$$file ; done
+         if [ ! -f $(wwwdir)/$$file ] ; then \
+           echo "Warning: $$file missing in www; update the variable?" \
+           | $(CVSSKIP) mail -s "sync: missing file" $(devel_addr) ; \
+         else \
+           cp -p --update $(wwwdir)/$$file $(rootdir)/$$file ; \
+         fi ; done
        cd $(rootdir) ; \
-         $(CVS) commit -m "Automatic sync from the master www repository."
+         $(CVSSKIP) $(CVS) commit -m \
+         "Automatic sync from the master www repository."




reply via email to

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