aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bin/psql/win32.mak8
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) $@
+