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=.\Release
 INTDIR=.\Release
+REFDOCDIR= ../../../doc/src/sgml/ref
 # Begin Custom Macros
 OutDir=.\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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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:[EMAIL PROTECTED]:/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.
>



---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

Reply via email to