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/test/regress/GNUmakefile | |
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/test/regress/GNUmakefile')
-rw-r--r-- | src/test/regress/GNUmakefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/regress/GNUmakefile b/src/test/regress/GNUmakefile index 8fe55ee3577..bbe04927975 100644 --- a/src/test/regress/GNUmakefile +++ b/src/test/regress/GNUmakefile @@ -6,7 +6,7 @@ # Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group # Portions Copyright (c) 1994, Regents of the University of California # -# $PostgreSQL: pgsql/src/test/regress/GNUmakefile,v 1.77 2009/01/01 17:24:04 momjian Exp $ +# $PostgreSQL: pgsql/src/test/regress/GNUmakefile,v 1.78 2009/08/26 22:24:43 petere Exp $ # #------------------------------------------------------------------------- @@ -66,7 +66,7 @@ install: all installdirs $(INSTALL_PROGRAM) pg_regress$(X) '$(DESTDIR)$(pgxsdir)/$(subdir)/pg_regress$(X)' installdirs: - $(mkinstalldirs) '$(DESTDIR)$(pgxsdir)/$(subdir)' + $(MKDIR_P) '$(DESTDIR)$(pgxsdir)/$(subdir)' uninstall: rm -f '$(DESTDIR)$(pgxsdir)/$(subdir)/pg_regress$(X)' @@ -104,7 +104,7 @@ install-tests: all install install-lib installdirs-tests done installdirs-tests: installdirs - $(mkinstalldirs) $(patsubst $(srcdir)/%/,'$(DESTDIR)$(pkglibdir)/regress/%',$(sort $(dir $(regress_data_files)))) + $(MKDIR_P) $(patsubst $(srcdir)/%/,'$(DESTDIR)$(pkglibdir)/regress/%',$(sort $(dir $(regress_data_files)))) # Get some extra C modules from contrib/spi... |