[postgis-tickets] [SCM] PostGIS branch master updated. 3.2.0-597-g5f0dae2c6

git at osgeo.org git at osgeo.org
Wed Feb 23 12:37:32 PST 2022


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".

The branch, master has been updated
       via  5f0dae2c6df72a3f2c42571aea08361eb2bba88a (commit)
      from  03ed1f3a27760f540a7ca486f68ee9550bf602e0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 5f0dae2c6df72a3f2c42571aea08361eb2bba88a
Author: Sandro Santilli <strk at kbt.io>
Date:   Wed Feb 23 21:36:49 2022 +0100

    Have top-level Makefile use build/ directory for building

diff --git a/.gitignore b/.gitignore
index c69659617..09f09a9cb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,6 +15,7 @@ gmon.out
 postgis_revision.h
 aclocal.m4
 autom4te.cache/
+build/
 build-aux/
 config.log
 config.guess
diff --git a/Makefile b/Makefile
index 7ccdb648b..0c7aa3a61 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
 # this file copied and adapted from PostgreSQL source
 # to allow easy build on BSD systems
 
-all install uninstall clean distclean maintainer-clean test check docs docs-install docs-uninstall utils: GNUmakefile
+all install uninstall staged-install clean distclean maintainer-clean test check docs docs-install docs-uninstall utils: build/GNUmakefile
 	@IFS=':' ; \
 	 for dir in $$PATH; do \
 	   for prog in gmake gnumake make; do \
@@ -15,14 +15,17 @@ all install uninstall clean distclean maintainer-clean test check docs docs-inst
 	\
 	 if [ x"$${GMAKE+set}" = xset ]; then \
 	   echo "Using GNU make found at $${GMAKE}"; \
-	   $${GMAKE} $@ ; \
+	   $${GMAKE} -C build/ $@ ; \
 	 else \
 	   echo "You must use GNU make to build PostGIS." ; \
 	   false; \
 	 fi
 
-configure: configure.in
+configure: configure.ac
 	./autogen.sh
 
-GNUmakefile: GNUmakefile.in
-	./configure
+build-dir:
+	mkdir -p build
+
+build/GNUmakefile: configure | build-dir
+	cd build && ../configure

-----------------------------------------------------------------------

Summary of changes:
 .gitignore |  1 +
 Makefile   | 13 ++++++++-----
 2 files changed, 9 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list