On Tue, 2007-07-03 at 18:11 +0000, Tanya Lattner wrote:
> Author: tbrethou
> Date: Tue Jul  3 13:11:20 2007
> New Revision: 37855
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=37855&view=rev
> Log:
> We really should not have this version number in  SO many makefiles. This 
> should also probably change to svn instead of cvs, but leaving it for now.

Its not in "SO" many makefiles. The line you changed is a comment (to
remind us of the syntax of the line being grepped). The next line
(PACKAGE_VERSION) is extracting the version number from the AC_INIT line
in the configure.ac file, specifically so the version number can be in
just one place.

Do you know of other places where the version number is located?

Reid.
 
> 
> Modified:
>     llvm/trunk/docs/Makefile
> 
> Modified: llvm/trunk/docs/Makefile
> URL: 
> http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/Makefile?rev=37855&r1=37854&r2=37855&view=diff
> ==============================================================================
> 
> --- llvm/trunk/docs/Makefile (original)
> +++ llvm/trunk/docs/Makefile Tue Jul  3 13:11:20 2007
> @@ -14,7 +14,7 @@
>  PROJ_OBJ_DIR = .
>  DOXYGEN = doxygen
>  # Extract version number from the AC_INT line in configure.ac
> -# AC_INIT([[llvm]],[[2.0cvs]],[EMAIL PROTECTED])
> +# AC_INIT([[llvm]],[[2.1cvs]],[EMAIL PROTECTED])
>  PACKAGE_VERSION = $(shell grep AC_INIT ../autoconf/configure.ac | sed -e 
> 's/[^,]*,[[][[]//' -e 's/]],.*//')
>  $(warning VERSION=$(VERSION))
>  
> 
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits@cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to