]> granicus.if.org Git - postgis/commitdiff
Hopefully fixed PGSQL_SRC environment variable test.
authorPaul Ramsey <pramsey@cleverelephant.ca>
Fri, 20 Jul 2001 15:25:09 +0000 (15:25 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Fri, 20 Jul 2001 15:25:09 +0000 (15:25 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@19 b70326c6-7e19-0410-871a-916f4a2858ee

Makefile

index cec8c7d74c1bf646ee537830964c6f28bf08167b..8bf4f27ee581228c74dfbfce22942cfe05c1abf4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,12 +4,12 @@
 subdir = contrib/postgis
 
 # Root of the pgsql source tree 
-ifneq (${PGSQL_SRC},"") 
-       top_builddir = ${PGSQL_SRC}
-       installlibdir = ${PWD}
-else
+ifeq (${PGSQL_SRC},) 
        top_builddir = ../..
        installlibdir = $(libdir)/contrib
+else
+       top_builddir = ${PGSQL_SRC}
+       installlibdir = ${PWD}
 endif
 
 include $(top_builddir)/src/Makefile.global