diff build-aux/common.mk @ 18228:b6b6e0dc700e stable

provide version number macros (bug #41045) * configure.ac (OCTAVE_MAJOR_VERSION, OCTAVE_MINOR_VERSION, OCTAVE_PATCH_VERSION): New variables. * common.mk: Substitute them. * version.in.h: Substitute them. * libinterp/Makefile.am (version.h): Don't substitute OCTAVE_API_VERSION_NUMBER.
author John W. Eaton <jwe@octave.org>
date Tue, 07 Jan 2014 11:36:21 -0500
parents 82c94987abc6
children 18e50356e5e3 d8abf813c69f
line wrap: on
line diff
--- a/build-aux/common.mk	Sun Jan 05 15:37:51 2014 -0200
+++ b/build-aux/common.mk	Tue Jan 07 11:36:21 2014 -0500
@@ -22,7 +22,9 @@
 DESKTOP_FILE_INSTALL = @DESKTOP_FILE_INSTALL@
 
 OCTAVE_VERSION = @OCTAVE_VERSION@
-OCTAVE_API_VERSION_NUMBER = @OCTAVE_API_VERSION_NUMBER@
+OCTAVE_MAJOR_VERSION = @OCTAVE_MAJOR_VERSION@
+OCTAVE_MINOR_VERSION = @OCTAVE_MINOR_VERSION@
+OCTAVE_PATCH_VERSION = @OCTAVE_PATCH_VERSION@
 OCTAVE_API_VERSION = @OCTAVE_API_VERSION@
 OCTAVE_RELEASE_DATE = @OCTAVE_RELEASE_DATE@
 OCTAVE_COPYRIGHT = @OCTAVE_COPYRIGHT@