]> granicus.if.org Git - postgis/commitdiff
And one last time, this time for real, fixing the install location.
authorPaul Ramsey <pramsey@cleverelephant.ca>
Thu, 26 Jul 2001 17:41:03 +0000 (17:41 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Thu, 26 Jul 2001 17:41:03 +0000 (17:41 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@41 b70326c6-7e19-0410-871a-916f4a2858ee

Makefile

index 296e75a91f01f10e0684be6ee116a799dfba46de..1727896b92c034db4a26bf8679cb646e540275ac 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -6,14 +6,14 @@ subdir = contrib/postgis
 # Root of the pgsql source tree 
 ifeq (${PGSQL_SRC},) 
        top_builddir = ../..
-       libdir = $(libdir)/contrib
+       include $(top_builddir)/src/Makefile.global
+       libdir := $(libdir)/contrib
 else
        top_builddir = ${PGSQL_SRC}
-       libdir = ${PWD}
+       include $(top_builddir)/src/Makefile.global
+       libdir := ${PWD}
 endif
 
-include $(top_builddir)/src/Makefile.global
-
 test_db = geom_regress
 
 # shared library parameters