repo: ngircd
action: commit
revision: 
path_from: 
revision_from: e12179aa9254e4a85ce09b7934a31c4c04ac8f0e:
path_to: 
revision_to: 
git.thebackupbox.net
ngircd
git clone git://git.thebackupbox.net/ngircd
commit e12179aa9254e4a85ce09b7934a31c4c04ac8f0e
Author: Alexander Barton 
Date:   Thu Jan 2 16:42:33 2003 +0000

    - date in version string conforms to ISO now: YYYY-MM-DD

diff --git a/src/ngircd/Makefile.am b/src/ngircd/Makefile.am
index 72332653b99c66035d859f689bdfe375dbc7c145..
index ..34bb71ff81e753528c1ea460ab568f09f13b74f8 100644
--- a/src/ngircd/Makefile.am
+++ b/src/ngircd/Makefile.am
@@ -9,7 +9,7 @@
 # Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
 # der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS.
 #
-# $Id: Makefile.am,v 1.33 2002/12/30 17:14:28 alex Exp $
+# $Id: Makefile.am,v 1.34 2003/01/02 16:42:33 alex Exp $
 #

 AUTOMAKE_OPTIONS = ../portab/ansi2knr
@@ -66,7 +66,8 @@ ngircd.c: cvs-date cvs-version.h
 cvs-date:
 	grep VERSION ../config.h | grep "CVS" \
 	 && echo "#define CVSDATE \"$$( grep "\$$Id" $(srcdir)/*.c \
-	    | awk "{ print \$$9 }" | sort | tail -n 1 )\"" > cvs-version.new \
+	    | $(AWK) "{ print \$$9 }" | sort | tail -n 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

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