repo: ngircd
action: commit
revision: 
path_from: 
revision_from: d8f3c2b42bfa70ff77ced9483e3efd51c1271d83:
path_to: 
revision_to: 
git.thebackupbox.net
ngircd
git clone git://git.thebackupbox.net/ngircd
commit d8f3c2b42bfa70ff77ced9483e3efd51c1271d83
Author: Alexander Barton 
Date:   Tue Sep 9 13:24:41 2003 +0000

    Suppress misleading error message of diff during make run.

diff --git a/ChangeLog b/ChangeLog
index 730daa339f4d83149b78fa4dc8ad63eabf3cd6d9..
index ..111dad2734eb4ef0e7fd994eb00167b0dfdc8299 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -12,6 +12,7 @@

 ngIRCd CVS-HEAD

+  - Suppress misleading error message of diff during make run.
   - Enhanced test-suite and made it work on GNU/Hurd.
   - Fixed minor typo in debug output :-)

@@ -463,4 +464,4 @@ ngIRCd 0.0.1, 31.12.2001


 -- 
-$Id: ChangeLog,v 1.209 2003/08/30 20:37:15 alex Exp $
+$Id: ChangeLog,v 1.210 2003/09/09 13:24:41 alex Exp $
diff --git a/src/ngircd/Makefile.am b/src/ngircd/Makefile.am
index 369b30066658c64279c92a1009ffc0377d96129e..
index ..8ac74fb69f90650c6bc456b02cd72db4c0fad5ec 100644
--- a/src/ngircd/Makefile.am
+++ b/src/ngircd/Makefile.am
@@ -8,7 +8,7 @@
 # (at your option) any later version.
 # Please read the file COPYING, README and AUTHORS for more information.
 #
-# $Id: Makefile.am,v 1.40 2003/05/03 16:29:57 alex Exp $
+# $Id: Makefile.am,v 1.41 2003/09/09 13:24:41 alex Exp $
 #

 AUTOMAKE_OPTIONS = ../portab/ansi2knr
@@ -71,7 +71,8 @@ cvs-date:
 	    | $(AWK) "{ print \$$9 }" | sort | tail -1 \
 	    | sed -e "s/\//-/g" )\"" > cvs-version.new \
 	 || echo "" > cvs-version.new
-	diff cvs-version.h cvs-version.new || cp cvs-version.new cvs-version.h
+	diff cvs-version.h cvs-version.new 2>/dev/null \
+	 || cp cvs-version.new cvs-version.h

 TESTS = check-version check-help

-----END OF PAGE-----