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
This commit is contained in:
Bruce Momjian 2002-11-23 04:06:32 +00:00
parent d46f3de363
commit f9e23827b0
1 changed files with 7 additions and 1 deletions

View File

@ -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= \
$(CPP) @<< $(CPP) @<<
$(CPP_PROJ) $< $(CPP_PROJ) $<
<< <<
sql_help.h: create_help.pl
$(PERL) create_help.pl $(REFDOCDIR) $@