diff options
author | Peter Eisentraut | 2009-08-26 22:24:44 +0000 |
---|---|---|
committer | Peter Eisentraut | 2009-08-26 22:24:44 +0000 |
commit | 9d182ef002b15c873074c710b709149450ddbcd9 (patch) | |
tree | 76bacc6e91c2ea2328c60972f361c8735a06ca77 /src/include/Makefile | |
parent | 7ca774a8739bc3887abda2a0259703729026a5ca (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/include/Makefile')
-rw-r--r-- | src/include/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/Makefile b/src/include/Makefile index 3b875f53bd7..1367a7d8f27 100644 --- a/src/include/Makefile +++ b/src/include/Makefile @@ -4,7 +4,7 @@ # # 'make install' installs whole contents of src/include. # -# $PostgreSQL: pgsql/src/include/Makefile,v 1.28 2009/07/20 20:38:55 alvherre Exp $ +# $PostgreSQL: pgsql/src/include/Makefile,v 1.29 2009/08/26 22:24:43 petere Exp $ # #------------------------------------------------------------------------- @@ -50,8 +50,8 @@ install: all installdirs done installdirs: - $(mkinstalldirs) '$(DESTDIR)$(includedir)/libpq' '$(DESTDIR)$(includedir_internal)/libpq' - $(mkinstalldirs) $(addprefix '$(DESTDIR)$(includedir_server)'/, $(SUBDIRS)) + $(MKDIR_P) '$(DESTDIR)$(includedir)/libpq' '$(DESTDIR)$(includedir_internal)/libpq' + $(MKDIR_P) $(addprefix '$(DESTDIR)$(includedir_server)'/, $(SUBDIRS)) uninstall: |