mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-12 13:30:51 +00:00
Get the version number right, finally.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37905 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7774be4a74
commit
cf4c42cde2
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user