[postgis-tickets] r16080 - Make sure target directories are created before copying files to them

Sandro Santilli strk at kbt.io
Sun Oct 29 14:26:44 PDT 2017


Author: strk
Date: 2017-10-29 14:26:44 -0700 (Sun, 29 Oct 2017)
New Revision: 16080

Modified:
   trunk/liblwgeom/Makefile.in
Log:
Make sure target directories are created before copying files to them

References #3912
References #3916

Modified: trunk/liblwgeom/Makefile.in
===================================================================
--- trunk/liblwgeom/Makefile.in	2017-10-29 20:13:47 UTC (rev 16079)
+++ trunk/liblwgeom/Makefile.in	2017-10-29 21:26:44 UTC (rev 16080)
@@ -163,7 +163,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