lwpostgis_upgrade.sql installed by install and removed by uninstall,

fixed path info for lwpostgis.sql install. Stripped CVS from version
strings and added note about SO/REL versions being the same.


git-svn-id: http://svn.osgeo.org/postgis/trunk@2218 b70326c6-7e19-0410-871a-916f4a2858ee
This commit is contained in:
Sandro Santilli 2005-12-16 08:59:58 +00:00
parent 448265c992
commit 0b1653bb10
2 changed files with 6 additions and 4 deletions

View file

@ -1,12 +1,12 @@
# Version numbering central repository, to be included from various
# places during the build process
# shared library version
# shared library / release version
SO_MAJOR_VERSION=1
SO_MINOR_VERSION=1
SO_MICRO_VERSION=0CVS
SO_MICRO_VERSION=0
# JDBC code version
JDBC_MAJOR_VERSION=1
JDBC_MINOR_VERSION=1
JDBC_MICRO_VERSION=0PRE-CVS
JDBC_MICRO_VERSION=0

View file

@ -134,7 +134,8 @@ install: all install-lib-shared install-lwgeom-scripts
install-lwgeom-scripts:
@mkdir -p $(DESTDIR)$(datadir)
$(INSTALL_DATA) lwpostgis.sql $(DESTDIR)$(datadir)/lwpostgis.sql
$(INSTALL_DATA) ../lwpostgis.sql $(DESTDIR)$(datadir)/lwpostgis.sql
$(INSTALL_DATA) ../lwpostgis_upgrade.sql $(DESTDIR)$(datadir)/lwpostgis_upgrade.sql
$(INSTALL_DATA) ../spatial_ref_sys.sql $(DESTDIR)$(datadir)/spatial_ref_sys.sql
#----------------------------------------------------------
@ -144,6 +145,7 @@ detect_geos_version:
uninstall-lwgeom-scripts:
rm -f $(DESTDIR)$(datadir)/postgis/lwpostgis.sql
rm -f $(DESTDIR)$(datadir)/postgis/lwpostgis_upgrade.sql
rm -f $(DESTDIR)$(datadir)/postgis/spatial_ref_sys.sql
uninstall: uninstall-lib uninstall-lwgeom-scripts