correct verion number; closes #5
This commit is contained in:
		
							
								
								
									
										14
									
								
								configure.in
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								configure.in
									
									
									
									
									
								
							| @@ -22,19 +22,21 @@ DOC_DIR=doc | ||||
|  | ||||
| m4_define(x_packagename, libxml-cxx) | ||||
| m4_define(x_major, 1) | ||||
| m4_define(x_minor, 0) | ||||
| m4_define(x_minor, 1) | ||||
| PACKAGENAME=x_packagename | ||||
| MAJOR=x_major | ||||
| MINOR=x_minor | ||||
| BUILDDATE=$(date "+%d.%m.%Y/%H.%M") | ||||
|  | ||||
| LEAST="ERROR-UNDEFINED-REVISION-to-be-built-in-subdirectory-of-svn-checkout" | ||||
| for path in . .. ../..; do | ||||
|   if svn info $path 2>&1 > /dev/null; then | ||||
| if svn info . 2>&1 > /dev/null; then | ||||
|     LEAST=$(LANG= svn info $path | sed -n 's/Revision: //p') | ||||
|     break; | ||||
|   fi | ||||
| done | ||||
| else | ||||
|     LEAST=[$(pwd | sed -n 's,^.*/'${PACKAGENAME}'-'${MAJOR}'\.'${MINOR}'\.\([0-9]*\).*$,\1,p')] | ||||
|     if test -z "${LEAST}"; then | ||||
|         LEAST="ERROR CANNOT DETERMINE REVISION NUMBER from $(pwd)" | ||||
|     fi | ||||
| fi | ||||
|  | ||||
| AM_INIT_AUTOMAKE($PACKAGENAME, $MAJOR.$MINOR.$LEAST, [marc@waeckerlin.org])  | ||||
|  | ||||
|   | ||||
| @@ -19,6 +19,7 @@ lib_LTLIBRARIES = libxml-cxx.la | ||||
| nobase_include_HEADERS = xml-cxx/xml.hxx xml-cxx/any.hxx | ||||
|  | ||||
| libxml_cxx_la_SOURCES = xml.cxx version.cxx | ||||
| libxml_cxx_la_LDFLAGS = -version-info ${LIB_VERSION} | ||||
|  | ||||
| DISTCLEANFILES = $(pkgconfig_DATA) | ||||
| MAINTAINERCLEANFILES = makefile.in | ||||
|   | ||||
		Reference in New Issue
	
	Block a user