Commit f9e23827 authored by Bruce Momjian's avatar Bruce Momjian

Heres a patch which will create the sql_help.h file on Win32 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.

Al Sutton
parent d46f3de3
...@@ -7,14 +7,16 @@ NULL=nul ...@@ -7,14 +7,16 @@ NULL=nul
!ENDIF !ENDIF
CPP=cl.exe CPP=cl.exe
PERL=perl.exe
OUTDIR=.\Release OUTDIR=.\Release
INTDIR=.\Release INTDIR=.\Release
REFDOCDIR= ../../../doc/src/sgml/ref
# Begin Custom Macros # Begin Custom Macros
OutDir=.\Release OutDir=.\Release
# End Custom Macros # End Custom Macros
ALL : "$(OUTDIR)\psql.exe" ALL : sql_help.h "$(OUTDIR)\psql.exe"
CLEAN : CLEAN :
-@erase "$(INTDIR)\command.obj" -@erase "$(INTDIR)\command.obj"
...@@ -91,3 +93,7 @@ LINK32_OBJS= \ ...@@ -91,3 +93,7 @@ LINK32_OBJS= \
$(CPP) @<< $(CPP) @<<
$(CPP_PROJ) $< $(CPP_PROJ) $<
<< <<
sql_help.h: create_help.pl
$(PERL) create_help.pl $(REFDOCDIR) $@
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment