Thread: pg_config fixes

pg_config fixes

From
Euler Taveira de Oliveira
Date:
Hi,

This simple patch fixes a typo, ensure pg_config is removed in win32
and correct some splitted message mistake.

Please apply.

PS> I'll send the translated file soon.


=====
Euler Taveira de Oliveira
euler[at]yahoo_com_br





_______________________________________________________
Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora! http://br.acesso.yahoo.com/***
./src/bin/pg_config/Makefile.orig   2004-10-05 15:10:04.000000000 -0300 
--- ./src/bin/pg_config/Makefile    2004-10-05 15:11:48.000000000 -0300
***************
*** 1,6 ****
  #-------------------------------------------------------------------------
  #
! # Makefile for src/bin/pg_controldata
  #
  # Copyright (c) 1998-2002, PostgreSQL Global Development Group
  #
--- 1,6 ----
  #-------------------------------------------------------------------------
  #
! # Makefile for src/bin/pg_config
  #
  # Copyright (c) 1998-2002, PostgreSQL Global Development Group
  #
***************
*** 28,34 ****
      $(mkinstalldirs) $(DESTDIR)$(bindir)

  uninstall:
!     rm -f $(DESTDIR)$(bindir)/pg_config

  clean distclean maintainer-clean:
      rm -f pg_config$(X) $(OBJS)
--- 28,34 ----
      $(mkinstalldirs) $(DESTDIR)$(bindir)

  uninstall:
!     rm -f $(DESTDIR)$(bindir)/pg_config$(X)

  clean distclean maintainer-clean:
      rm -f pg_config$(X) $(OBJS)
*** ./src/bin/pg_config/pg_config.c.orig    2004-10-05 15:32:13.000000000 -0300
--- ./src/bin/pg_config/pg_config.c    2004-10-05 15:32:18.000000000 -0300
***************
*** 38,51 ****
      printf(_("  %s OPTION...\n\n"), progname);
      printf(_("Options:\n"));
      printf(_("  --bindir              show location of user executables\n"));
!     printf(_("  --includedir          show location of C header files of the client\n"));
!     printf(_("                        interfaces\n"));
      printf(_("  --includedir-server   show location of C header files for the server\n"));
      printf(_("  --libdir              show location of object code libraries\n"));
      printf(_("  --pkglibdir           show location of dynamically loadable modules\n"));
      printf(_("  --pgxs                show location of extension makefile\n"));
!     printf(_("  --configure           show options given to 'configure' script when\n"));
!     printf(_("                        PostgreSQL was built\n"));
      printf(_("  --version             show the PostgreSQL version, then exit\n"));
      printf(_("  --help                show this help, then exit\n\n"));
      printf(_("Report bugs to <pgsql-bugs@postgresql.org>.\n"));
--- 38,51 ----
      printf(_("  %s OPTION...\n\n"), progname);
      printf(_("Options:\n"));
      printf(_("  --bindir              show location of user executables\n"));
!     printf(_("  --includedir          show location of C header files of the client\n"
!          "                        interfaces\n"));
      printf(_("  --includedir-server   show location of C header files for the server\n"));
      printf(_("  --libdir              show location of object code libraries\n"));
      printf(_("  --pkglibdir           show location of dynamically loadable modules\n"));
      printf(_("  --pgxs                show location of extension makefile\n"));
!     printf(_("  --configure           show options given to 'configure' script when\n"
!          "                        PostgreSQL was built\n"));
      printf(_("  --version             show the PostgreSQL version, then exit\n"));
      printf(_("  --help                show this help, then exit\n\n"));
      printf(_("Report bugs to <pgsql-bugs@postgresql.org>.\n"));

Re: pg_config fixes

From
Bruce Momjian
Date:
Patch applied.  Thanks.

---------------------------------------------------------------------------


Euler Taveira de Oliveira wrote:
> Hi,
>
> This simple patch fixes a typo, ensure pg_config is removed in win32
> and correct some splitted message mistake.
>
> Please apply.
>
> PS> I'll send the translated file soon.
>
>
> =====
> Euler Taveira de Oliveira
> euler[at]yahoo_com_br
>
>
>
>
>
> _______________________________________________________
> Yahoo! Acesso Gr?tis - Internet r?pida e gr?tis. Instale o discador agora! http://br.acesso.yahoo.com/

Content-Description: pg_config.diff

> *** ./src/bin/pg_config/Makefile.orig    2004-10-05 15:10:04.000000000 -0300
> --- ./src/bin/pg_config/Makefile    2004-10-05 15:11:48.000000000 -0300
> ***************
> *** 1,6 ****
>   #-------------------------------------------------------------------------
>   #
> ! # Makefile for src/bin/pg_controldata
>   #
>   # Copyright (c) 1998-2002, PostgreSQL Global Development Group
>   #
> --- 1,6 ----
>   #-------------------------------------------------------------------------
>   #
> ! # Makefile for src/bin/pg_config
>   #
>   # Copyright (c) 1998-2002, PostgreSQL Global Development Group
>   #
> ***************
> *** 28,34 ****
>       $(mkinstalldirs) $(DESTDIR)$(bindir)
>
>   uninstall:
> !     rm -f $(DESTDIR)$(bindir)/pg_config
>
>   clean distclean maintainer-clean:
>       rm -f pg_config$(X) $(OBJS)
> --- 28,34 ----
>       $(mkinstalldirs) $(DESTDIR)$(bindir)
>
>   uninstall:
> !     rm -f $(DESTDIR)$(bindir)/pg_config$(X)
>
>   clean distclean maintainer-clean:
>       rm -f pg_config$(X) $(OBJS)
> *** ./src/bin/pg_config/pg_config.c.orig    2004-10-05 15:32:13.000000000 -0300
> --- ./src/bin/pg_config/pg_config.c    2004-10-05 15:32:18.000000000 -0300
> ***************
> *** 38,51 ****
>       printf(_("  %s OPTION...\n\n"), progname);
>       printf(_("Options:\n"));
>       printf(_("  --bindir              show location of user executables\n"));
> !     printf(_("  --includedir          show location of C header files of the client\n"));
> !     printf(_("                        interfaces\n"));
>       printf(_("  --includedir-server   show location of C header files for the server\n"));
>       printf(_("  --libdir              show location of object code libraries\n"));
>       printf(_("  --pkglibdir           show location of dynamically loadable modules\n"));
>       printf(_("  --pgxs                show location of extension makefile\n"));
> !     printf(_("  --configure           show options given to 'configure' script when\n"));
> !     printf(_("                        PostgreSQL was built\n"));
>       printf(_("  --version             show the PostgreSQL version, then exit\n"));
>       printf(_("  --help                show this help, then exit\n\n"));
>       printf(_("Report bugs to <pgsql-bugs@postgresql.org>.\n"));
> --- 38,51 ----
>       printf(_("  %s OPTION...\n\n"), progname);
>       printf(_("Options:\n"));
>       printf(_("  --bindir              show location of user executables\n"));
> !     printf(_("  --includedir          show location of C header files of the client\n"
> !          "                        interfaces\n"));
>       printf(_("  --includedir-server   show location of C header files for the server\n"));
>       printf(_("  --libdir              show location of object code libraries\n"));
>       printf(_("  --pkglibdir           show location of dynamically loadable modules\n"));
>       printf(_("  --pgxs                show location of extension makefile\n"));
> !     printf(_("  --configure           show options given to 'configure' script when\n"
> !          "                        PostgreSQL was built\n"));
>       printf(_("  --version             show the PostgreSQL version, then exit\n"));
>       printf(_("  --help                show this help, then exit\n\n"));
>       printf(_("Report bugs to <pgsql-bugs@postgresql.org>.\n"));

>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
>                http://archives.postgresql.org

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073