[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: The `sync' rule is not robust; expected to fail tonight
From: |
Yavor Doganov |
Subject: |
Re: The `sync' rule is not robust; expected to fail tonight |
Date: |
Mon, 04 Feb 2008 13:58:28 +0000 |
OK to commit this quick "fix"?
--- GNUmakefile 04 фев 2008 13:08:13 +0200 1.25
+++ GNUmakefile 04 фев 2008 15:56:14 +0200
@@ -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,11 @@
.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 "$$file is missing in www; update the variable." \
+ | 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."
- The `sync' rule is not robust; expected to fail tonight, Yavor Doganov, 2008/02/04
- Re: The `sync' rule is not robust; expected to fail tonight,
Yavor Doganov <=
- Re: The `sync' rule is not robust; expected to fail tonight, Kaloian Doganov, 2008/02/04
- Re: The `sync' rule is not robust; expected to fail tonight, Yavor Doganov, 2008/02/04
- Re: The `sync' rule is not robust; expected to fail tonight, Kaloian Doganov, 2008/02/04
- Re: The `sync' rule is not robust; expected to fail tonight, Yavor Doganov, 2008/02/04
- Re: The `sync' rule is not robust; expected to fail tonight, Kaloian Doganov, 2008/02/04
- Re: The `sync' rule is not robust; expected to fail tonight, Yavor Doganov, 2008/02/04