Skip to content

Commit f9e2382

Browse files
committed
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
1 parent d46f3de commit f9e2382

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/bin/psql/win32.mak

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,16 @@ NULL=nul
77
!ENDIF
88

99
CPP=cl.exe
10+
PERL=perl.exe
1011

1112
OUTDIR=.\Release
1213
INTDIR=.\Release
14+
REFDOCDIR= ../../../doc/src/sgml/ref
1315
# Begin Custom Macros
1416
OutDir=.\Release
1517
# End Custom Macros
1618

17-
ALL : "$(OUTDIR)\psql.exe"
19+
ALL : sql_help.h "$(OUTDIR)\psql.exe"
1820

1921
CLEAN :
2022
-@erase "$(INTDIR)\command.obj"
@@ -91,3 +93,7 @@ LINK32_OBJS= \
9193
$(CPP) @<<
9294
$(CPP_PROJ) $<
9395
<<
96+
97+
sql_help.h: create_help.pl
98+
$(PERL) create_help.pl $(REFDOCDIR) $@
99+

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy