summaryrefslogtreecommitdiff
path: root/src/Makefile.shlib
diff options
context:
space:
mode:
authorPeter Eisentraut2009-08-26 22:24:44 +0000
committerPeter Eisentraut2009-08-26 22:24:44 +0000
commit9d182ef002b15c873074c710b709149450ddbcd9 (patch)
tree76bacc6e91c2ea2328c60972f361c8735a06ca77 /src/Makefile.shlib
parent7ca774a8739bc3887abda2a0259703729026a5ca (diff)
Update of install-sh, mkinstalldirs, and associated configury
Update install-sh to that from Autoconf 2.63, plus our Darwin-specific changes (which I simplified a bit). install-sh is now able to install multiple files in one run, so we could simplify our makefiles sometime. install-sh also now has a -d option to create directories, so we don't need mkinstalldirs anymore. Use AC_PROG_MKDIR_P in configure.in, so we can use mkdir -p when available instead of install-sh -d. For consistency with the rest of the world, the corresponding make variable has been renamed from $(mkinstalldirs) to $(MKDIR_P).
Diffstat (limited to 'src/Makefile.shlib')
-rw-r--r--src/Makefile.shlib6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Makefile.shlib b/src/Makefile.shlib
index b4f46da00ac..748e6bb77d8 100644
--- a/src/Makefile.shlib
+++ b/src/Makefile.shlib
@@ -6,7 +6,7 @@
# Copyright (c) 1998, Regents of the University of California
#
# IDENTIFICATION
-# $PostgreSQL: pgsql/src/Makefile.shlib,v 1.120 2009/01/05 09:27:19 petere Exp $
+# $PostgreSQL: pgsql/src/Makefile.shlib,v 1.121 2009/08/26 22:24:42 petere Exp $
#
#-------------------------------------------------------------------------
@@ -517,9 +517,9 @@ endif # enable_shared
installdirs-lib:
ifdef soname
- $(mkinstalldirs) '$(DESTDIR)$(libdir)'
+ $(MKDIR_P) '$(DESTDIR)$(libdir)'
else
- $(mkinstalldirs) '$(DESTDIR)$(pkglibdir)'
+ $(MKDIR_P) '$(DESTDIR)$(pkglibdir)'
endif