Commit Diff


commit - ba767481d9f2e1370034853d6a9471ee6aad4386
commit + 427be23b6ed4091cdca0fd9ddc36bcd99e6ee06d
blob - ff167da0da66ccfa8f70ce6b2464bdccdeb8c4cf
blob + 6e6eeb5a3acfaf6b27cc9bae531ca8ce3b9b0c3c
--- src/ngircd/Makefile.am
+++ 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.30 2002/11/30 17:39:56 alex Exp $
+# $Id: Makefile.am,v 1.31 2002/12/12 12:36:41 alex Exp $
 #
 
 AUTOMAKE_OPTIONS = ../portab/ansi2knr
@@ -64,8 +64,8 @@ ngircd.c: cvs-date cvs-version.h
 
 cvs-date:
 	grep VERSION ../config.h | grep "CVS" \
-	 && echo "#define CVSDATE \"$$( grep "\$$Id" $(srcdir)/*.c $(srcdir)/*.h \
-	    | awk "{ print \$$6 }" | sort | tail -n 1 )\"" > cvs-version.new \
+	 && echo "#define CVSDATE \"$$( grep "\$$Id" $(srcdir)/*.c \
+	    | awk "{ print \$$9 }" | sort | tail -n 1 )\"" > cvs-version.new \
 	 || echo "" > cvs-version.new
 	diff cvs-version.h cvs-version.new || cp cvs-version.new cvs-version.h