[postgis-tickets] r16088 - Make sure target directories are created before copying files to them
Sandro Santilli
strk at kbt.io
Tue Oct 31 08:35:36 PDT 2017
Author: strk
Date: 2017-10-31 08:35:36 -0700 (Tue, 31 Oct 2017)
New Revision: 16088
Modified:
branches/2.2/configure.ac
branches/2.2/liblwgeom/Makefile.in
Log:
Make sure target directories are created before copying files to them
Closes #3912 in 2.2 branch
Closes #3916 in 2.2 branch
Modified: branches/2.2/configure.ac
===================================================================
--- branches/2.2/configure.ac 2017-10-31 15:33:31 UTC (rev 16087)
+++ branches/2.2/configure.ac 2017-10-31 15:35:36 UTC (rev 16088)
@@ -13,6 +13,7 @@
AC_CONFIG_HEADERS([postgis_config.h])
AC_CONFIG_MACRO_DIR([macros])
AC_CONFIG_AUX_DIR([build-aux])
+AC_PROG_INSTALL
dnl Invoke libtool: we do this as it is the easiest way to find the PIC
dnl flags required to build liblwgeom
Modified: branches/2.2/liblwgeom/Makefile.in
===================================================================
--- branches/2.2/liblwgeom/Makefile.in 2017-10-31 15:33:31 UTC (rev 16087)
+++ branches/2.2/liblwgeom/Makefile.in 2017-10-31 15:35:36 UTC (rev 16088)
@@ -144,7 +144,9 @@
uninstall: uninstall-liblwgeom
install-liblwgeom: liblwgeom.la
+ $(INSTALL) -d "$(DESTDIR)$(libdir)"
$(LIBTOOL) --mode=install $(INSTALL) liblwgeom.la "$(DESTDIR)$(libdir)/liblwgeom.la"
+ $(INSTALL) -d "$(DESTDIR)$(includedir)"
$(INSTALL) -m 0644 liblwgeom.h "$(DESTDIR)$(includedir)/liblwgeom.h"
$(INSTALL) -m 0644 liblwgeom_topo.h "$(DESTDIR)$(includedir)/liblwgeom_topo.h"
More information about the postgis-tickets
mailing list