From 00683dad1a27a49e99f4a28e3924e1c97b1b9594 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Tue, 1 Jul 2014 08:58:19 +0200 Subject: postgresql-ctl, DISTSUFF: introduce We need postgresql-ctl for to keep backward compatibility with clients setting "PGPORT" directly in service file. DISTSUFF variable (which is read by ./configure) may be used to generated namespaced binary names -- e.g. DISTSUFF=93 results in postgresql93-setup is generated instead of postgresql-setup. This commit also adjusts autotools build system to not generate scripts by ./configure, but rather by make. --- postgresql-setup.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'postgresql-setup.in') diff --git a/postgresql-setup.in b/postgresql-setup.in index 6cd9893..bd96e09 100644 --- a/postgresql-setup.in +++ b/postgresql-setup.in @@ -81,7 +81,7 @@ debug() { test "$option_debug" = "1" && echo >&2 $"DEBUG: $@"; } print_version() { - echo "@PACKAGE@ @VERSION@" + echo "postgresql@DISTSUFF@-setup @VERSION@" echo $"Built against PostgreSQL version @PGMAJORVERSION@ and configured" echo $"to upgrade from PostgreSQL version @PREVMAJORVERSION@." } -- cgit