From: Bruce Momjian Date: Fri, 10 Sep 2004 03:48:54 +0000 (+0000) Subject: Create pg_config_paths in port/ for win32 builds of psql. X-Git-Tag: REL8_0_0BETA3~113 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=35e88b512e2518dbcb81f07af741e21d338f7237;p=postgresql Create pg_config_paths in port/ for win32 builds of psql. --- diff --git a/src/bin/psql/bcc32.mak b/src/bin/psql/bcc32.mak index 46b07452a6..18012a4773 100644 --- a/src/bin/psql/bcc32.mak +++ b/src/bin/psql/bcc32.mak @@ -53,7 +53,7 @@ REFDOCDIR=../../../doc/src/sgml/ref .c.obj: $(CPP) -o"$(INTDIR)\$&" $(CPP_PROJ) $< -ALL : sql_help.h pg_config_paths.h "$(OUTDIR)\psql.exe" +ALL : sql_help.h "..\..\port\pg_config_paths.h" "$(OUTDIR)\psql.exe" CLEAN : -@erase "$(INTDIR)\command.obj" @@ -81,9 +81,9 @@ CLEAN : -@erase "$(INTDIR)\psql.ils" -@erase "$(INTDIR)\psql.ilf" -@erase "$(OUTDIR)\psql.exe" - -@erase "$(INTDIR)\pg_config_paths.h" + -@erase "$(INTDIR)\..\..\port\pg_config_paths.h" -pg_config_paths.h: win32.mak +"..\..\port\pg_config_paths.h": win32.mak echo "#define PGBINDIR "">$@ echo "#define PGSHAREDIR "" >>$@ echo "#define SYSCONFDIR "" >>$@ diff --git a/src/bin/psql/win32.mak b/src/bin/psql/win32.mak index 3498a11c5d..f5091c020e 100644 --- a/src/bin/psql/win32.mak +++ b/src/bin/psql/win32.mak @@ -16,7 +16,7 @@ REFDOCDIR= ../../../doc/src/sgml/ref OutDir=.\Release # End Custom Macros -ALL : sql_help.h pg_config_paths.h "$(OUTDIR)\psql.exe" +ALL : sql_help.h "..\..\port\pg_config_paths.h" "$(OUTDIR)\psql.exe" CLEAN : -@erase "$(INTDIR)\command.obj" @@ -41,9 +41,9 @@ CLEAN : -@erase "$(INTDIR)\mbprint.obj" -@erase "$(INTDIR)\*psql.pch" -@erase "$(OUTDIR)\psql.exe" - -@erase "$(INTDIR)\pg_config_paths.h" + -@erase "$(INTDIR)\..\..\port\pg_config_paths.h" -pg_config_paths.h: win32.mak +"..\..\port\pg_config_paths.h": win32.mak echo "#define PGBINDIR "">$@ echo "#define PGSHAREDIR "" >>$@ echo "#define SYSCONFDIR "" >>$@