No subject


Fri May 2 19:13:14 EDT 2003


something like "pre-build script" and "post-build script".  Enter there
any command or .CMD file you want executed.  Something along these lines
might work:

<snip>
set src=include
set tgt=src\win32

rem 	Rename the files while copying to a temporary place
xcopy 	%src%\*.h.in  %tgt%\tmp\*.

rem 	Use "replace" to avoid overwriting targets 
rem	that were updated manually.

rename  %tgt%\tmp\*.h  %tgt%

rem 	Cleanup
del	%tgt%\tmp\*.h
rmdir	%tgt%\tmp 2> NUL:

rem feedback:
dir /s/b %tgt%\..\*.h
</snip>

I'm not making this up. (!)

Let's not have copies of files in the source tree.  :-)

--jkl




More information about the FreeTDS mailing list