diff options
author | Bruce Momjian <bruce@momjian.us> | 2002-11-23 04:06:32 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2002-11-23 04:06:32 +0000 |
commit | f9e23827b03411bbaa60cc2c2aef94b82ee3b71c (patch) | |
tree | cdafe662c1a192570d79913f3f6b36ea6b43ed1b | |
parent | d46f3de3638029179546c863f2ca0af3e86c1db6 (diff) | |
download | postgresql-f9e23827b03411bbaa60cc2c2aef94b82ee3b71c.tar.gz postgresql-f9e23827b03411bbaa60cc2c2aef94b82ee3b71c.zip |
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
-rw-r--r-- | src/bin/psql/win32.mak | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/bin/psql/win32.mak b/src/bin/psql/win32.mak index 119e5cce9d6..82ca69218c2 100644 --- a/src/bin/psql/win32.mak +++ b/src/bin/psql/win32.mak @@ -7,14 +7,16 @@ NULL=nul !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 @@ LINK32_OBJS= \ $(CPP) @<< $(CPP_PROJ) $< << + +sql_help.h: create_help.pl + $(PERL) create_help.pl $(REFDOCDIR) $@ + |