[postgis-devel] Small Patch(es)

Markus Schaber schabios at logi-track.com
Mon Jan 10 06:11:56 PST 2005


Hi,

This is a small Patch that adds the build date to the postgis_version
and postgis_lib_version. This is helpful when compiling cvs which always
has the same version stamp, so you don't get lost and know which of your
builds is actually run by postgres.

HTH,
Markus

Index: lwgeom/Makefile
===================================================================
RCS file: /home/cvs/postgis/postgis/lwgeom/Makefile,v
retrieving revision 1.54
diff -c -r1.54 Makefile
*** lwgeom/Makefile     10 Jan 2005 09:27:58 -0000      1.54
--- lwgeom/Makefile     10 Jan 2005 14:14:44 -0000
***************
*** 35,45 ****
  endif
  
  #---------------------------------------------------------------
! # Postgis version
  #---------------------------------------------------------------
  
! POSTGIS_VERSION = $(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) USE_GEOS=$(USE_GEOS)
 USE_PROJ=$(USE_PROJ) USE_STATS=$(USE_STATS)
! POSTGIS_LIB_VERSION = $(SO_MAJOR_VERSION).$(SO_MINOR_VERSION).$(SO_MICRO_VERSI
ON)
  
  #---------------------------------------------------------------
  
--- 35,47 ----
  endif
  
  #---------------------------------------------------------------
! # Postgis version and build date
  #---------------------------------------------------------------
  
! BUILD_DATE := $(shell date -u "+%F-%H-%M-%S")
! 
! POSTGIS_VERSION = $(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) USE_GEOS=$(USE_GEOS)
 USE_PROJ=$(USE_PROJ) USE_STATS=$(USE_STATS) BUILD=$(BUILD_DATE)
! POSTGIS_LIB_VERSION = $(SO_MAJOR_VERSION).$(SO_MINOR_VERSION).$(SO_MICRO_VERSI
ON) BUILD=$(BUILD_DATE)
  
  #---------------------------------------------------------------



More information about the postgis-devel mailing list