diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-07-05 10:00:19 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-07-05 10:00:19 +0000 |
commit | cf4c42cde2edc35d7c814552e7d16f887949a00c (patch) | |
tree | 5112d2768507429279d756ae95005d277cf89d1c /docs | |
parent | 7774be4a74be15305a4852efb9981847a7f1dad7 (diff) | |
download | external_llvm-cf4c42cde2edc35d7c814552e7d16f887949a00c.zip external_llvm-cf4c42cde2edc35d7c814552e7d16f887949a00c.tar.gz external_llvm-cf4c42cde2edc35d7c814552e7d16f887949a00c.tar.bz2 |
Get the version number right, finally.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37905 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r-- | docs/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/Makefile b/docs/Makefile index 8695821..9249fbe 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -15,14 +15,13 @@ PROJ_OBJ_DIR = . DOXYGEN = doxygen # Extract version number from the AC_INT line in configure.ac # AC_INIT([[llvm]],[[2.1cvs]],[llvmbugs@cs.uiuc.edu]) -PACKAGE_VERSION = $(shell grep AC_INIT ../autoconf/configure.ac | sed -e 's/[^,]*,[[][[]//' -e 's/]],.*//') -$(warning VERSION=$(VERSION)) +PACKAGE_VERSION = $(shell grep AC_INIT ../autoconf/configure.ac | sed -e 's/^[^0-9]*\([0-9_.a-zA-Z-]*\).*/\1/' ) $(PROJ_OBJ_DIR)/doxygen.cfg: doxygen.cfg.in cat $< | sed \ -e 's/@abs_top_srcdir@/../g' \ -e 's/@DOT@/dot/g' \ - -e 's/@PACKAGE_VERSION@/$(PACKAGE_VERSION)/g' \ + -e 's/@PACKAGE_VERSION@/$(PACKAGE_VERSION)/' \ -e 's/@abs_top_builddir@/../g' > $@ endif |