diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2009-08-26 22:24:44 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2009-08-26 22:24:44 +0000 |
commit | 9d182ef002b15c873074c710b709149450ddbcd9 (patch) | |
tree | 76bacc6e91c2ea2328c60972f361c8735a06ca77 /src/bin/pg_config | |
parent | 7ca774a8739bc3887abda2a0259703729026a5ca (diff) | |
download | postgresql-9d182ef002b15c873074c710b709149450ddbcd9.tar.gz |
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/bin/pg_config')
-rw-r--r-- | src/bin/pg_config/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/pg_config/Makefile b/src/bin/pg_config/Makefile index e501a16659..f824dbfb90 100644 --- a/src/bin/pg_config/Makefile +++ b/src/bin/pg_config/Makefile @@ -4,7 +4,7 @@ # # Copyright (c) 1998-2009, PostgreSQL Global Development Group # -# $PostgreSQL: pgsql/src/bin/pg_config/Makefile,v 1.21 2009/01/01 17:23:54 momjian Exp $ +# $PostgreSQL: pgsql/src/bin/pg_config/Makefile,v 1.22 2009/08/26 22:24:43 petere Exp $ # #------------------------------------------------------------------------- @@ -37,7 +37,7 @@ install: all installdirs $(INSTALL_SCRIPT) pg_config$(X) '$(DESTDIR)$(bindir)/pg_config$(X)' installdirs: - $(mkinstalldirs) '$(DESTDIR)$(bindir)' + $(MKDIR_P) '$(DESTDIR)$(bindir)' uninstall: rm -f '$(DESTDIR)$(bindir)/pg_config$(X)' |