Heres a patch which will create the sql_help.h file if it doesn't already
exist using an installed copy of perl. I've tested it using perl v5.6.1 from
ActiveState and all appears to work.
Can someone commit this for me, or throw back some comments.
Thanks,
Al.
--- src/bin/psql/win32.mak 2002/10/29 04:23:30 1.11
+++ src/bin/psql/win32.mak 2002/11/20 19:44:35
@@ -7,14 +7,16 @@!ENDIF
CPP=cl.exe
+PERL=perl.exe
OUTDIR=.\ReleaseINTDIR=.\Release
+REFDOCDIR= ../../../doc/src/sgml/ref# Begin Custom MacrosOutDir=.\Release# End Custom Macros
-ALL : "$(OUTDIR)\psql.exe"
+ALL : sql_help.h "$(OUTDIR)\psql.exe"
CLEAN : -@erase "$(INTDIR)\command.obj"
@@ -91,3 +93,7 @@ $(CPP) @<< $(CPP_PROJ) $<<<
+
+sql_help.h: create_help.pl
+ $(PERL) create_help.pl $(REFDOCDIR) $@
+
----- Original Message -----
From: "Al Sutton" <al@alsutton.com>
To: <pgsql-hackers@postgresql.org>
Sent: Friday, November 15, 2002 8:48 PM
Subject: Missing file from CVS?
> All,
>
> I've just tried to build the Win32 components under Visual Studio's C++
> compiler from the win32.mak CVS archive at
> :pserver:anoncvs@anoncvs.postgresql.org:/projects/cvsroot and found that
the
> following file was missing;
>
> src\bin\psql\sql_help.h
>
> I've copied the file from the the source tree of version 7.2.3 and the
> compile works with out any problems.
>
> Should the file be in CVS?
>
> Al.
>