Thread: Fw: Missing file from CVS?
Heres a patch which will create the sql_help.h file 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. Can someone commit this for me, or throw back some comments. Thanks, Al. --- src/bin/psql/win32.mak 2002/10/29 04:23:30 1.11 +++ src/bin/psql/win32.mak 2002/11/20 19:44:35 @@ -7,14 +7,16 @@!ENDIF CPP=cl.exe +PERL=perl.exe OUTDIR=.\ReleaseINTDIR=.\Release +REFDOCDIR= ../../../doc/src/sgml/ref# Begin Custom MacrosOutDir=.\Release# End Custom Macros -ALL : "$(OUTDIR)\psql.exe" +ALL : sql_help.h "$(OUTDIR)\psql.exe" CLEAN : -@erase "$(INTDIR)\command.obj" @@ -91,3 +93,7 @@ $(CPP) @<< $(CPP_PROJ) $<<< + +sql_help.h: create_help.pl + $(PERL) create_help.pl $(REFDOCDIR) $@ + ----- Original Message ----- From: "Al Sutton" <al@alsutton.com> To: <pgsql-hackers@postgresql.org> Sent: Friday, November 15, 2002 8:48 PM Subject: Missing file from CVS? > All, > > I've just tried to build the Win32 components under Visual Studio's C++ > compiler from the win32.mak CVS archive at > :pserver:anoncvs@anoncvs.postgresql.org:/projects/cvsroot and found that the > following file was missing; > > src\bin\psql\sql_help.h > > I've copied the file from the the source tree of version 7.2.3 and the > compile works with out any problems. > > Should the file be in CVS? > > Al. >
Your patch has been added to the PostgreSQL unapplied patches list at: http://momjian.postgresql.org/cgi-bin/pgpatches I will try to apply it within the next 48 hours. --------------------------------------------------------------------------- Al Sutton wrote: > Heres a patch which will create the sql_help.h file 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. > > Can someone commit this for me, or throw back some comments. > > Thanks, > > Al. > > > --- src/bin/psql/win32.mak 2002/10/29 04:23:30 1.11 > +++ src/bin/psql/win32.mak 2002/11/20 19:44:35 > @@ -7,14 +7,16 @@ > !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 @@ > $(CPP) @<< > $(CPP_PROJ) $< > << > + > +sql_help.h: create_help.pl > + $(PERL) create_help.pl $(REFDOCDIR) $@ > + > > > > > ----- Original Message ----- > From: "Al Sutton" <al@alsutton.com> > To: <pgsql-hackers@postgresql.org> > Sent: Friday, November 15, 2002 8:48 PM > Subject: Missing file from CVS? > > > > All, > > > > I've just tried to build the Win32 components under Visual Studio's C++ > > compiler from the win32.mak CVS archive at > > :pserver:anoncvs@anoncvs.postgresql.org:/projects/cvsroot and found that > the > > following file was missing; > > > > src\bin\psql\sql_help.h > > > > I've copied the file from the the source tree of version 7.2.3 and the > > compile works with out any problems. > > > > Should the file be in CVS? > > > > Al. > > > > > > ---------------------------(end of broadcast)--------------------------- > TIP 2: you can get off all lists at once with the unregister command > (send "unregister YourEmailAddressHere" to majordomo@postgresql.org) > -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001+ If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania19073
Patch applied. Thanks. --------------------------------------------------------------------------- Al Sutton wrote: > Heres a patch which will create the sql_help.h file 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. > > Can someone commit this for me, or throw back some comments. > > Thanks, > > Al. > > > --- src/bin/psql/win32.mak 2002/10/29 04:23:30 1.11 > +++ src/bin/psql/win32.mak 2002/11/20 19:44:35 > @@ -7,14 +7,16 @@ > !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 @@ > $(CPP) @<< > $(CPP_PROJ) $< > << > + > +sql_help.h: create_help.pl > + $(PERL) create_help.pl $(REFDOCDIR) $@ > + > > > > > ----- Original Message ----- > From: "Al Sutton" <al@alsutton.com> > To: <pgsql-hackers@postgresql.org> > Sent: Friday, November 15, 2002 8:48 PM > Subject: Missing file from CVS? > > > > All, > > > > I've just tried to build the Win32 components under Visual Studio's C++ > > compiler from the win32.mak CVS archive at > > :pserver:anoncvs@anoncvs.postgresql.org:/projects/cvsroot and found that > the > > following file was missing; > > > > src\bin\psql\sql_help.h > > > > I've copied the file from the the source tree of version 7.2.3 and the > > compile works with out any problems. > > > > Should the file be in CVS? > > > > Al. > > > > > > ---------------------------(end of broadcast)--------------------------- > TIP 2: you can get off all lists at once with the unregister command > (send "unregister YourEmailAddressHere" to majordomo@postgresql.org) > -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001+ If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania19073