From ceb1880a98191f92a7a2d8a1e06f72cea875045d Mon Sep 17 00:00:00 2001 From: jongfoster Date: Fri, 1 Jun 2001 20:15:05 +0000 Subject: [PATCH] Fixing file copying. --- console_junkbuster.dsp | 29 +++++++++++++++++++++++++---- vc_junkbuster.dsp | 23 ++++++----------------- 2 files changed, 31 insertions(+), 21 deletions(-) diff --git a/console_junkbuster.dsp b/console_junkbuster.dsp index 80b46fe3..e79ab851 100755 --- a/console_junkbuster.dsp +++ b/console_junkbuster.dsp @@ -188,11 +188,32 @@ SOURCE=.\showargs.h # PROP Default_Filter "" # Begin Source File -SOURCE=.\pcre\chartables.c.win -# End Source File -# Begin Source File - SOURCE=.\config.h.win + +!IF "$(CFG)" == "console_junkbuster - Win32 Release" + +# Begin Custom Build - Copying config.h.win +InputDir=. +InputPath=.\config.h.win + +"$(InputDir)\config.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + copy $(InputPath) $(InputDir)\config.h + +# End Custom Build + +!ELSEIF "$(CFG)" == "console_junkbuster - Win32 Debug" + +# Begin Custom Build - Copying config.h.win +InputDir=. +InputPath=.\config.h.win + +"$(InputDir)\config.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + copy $(InputPath) $(InputDir)\config.h + +# End Custom Build + +!ENDIF + # End Source File # End Group # Begin Source File diff --git a/vc_junkbuster.dsp b/vc_junkbuster.dsp index dbf27453..c140d3c3 100644 --- a/vc_junkbuster.dsp +++ b/vc_junkbuster.dsp @@ -190,30 +190,19 @@ SOURCE=.\showargs.h # PROP Default_Filter ".win" # Begin Source File -SOURCE=.\pcre\chartables.c.win +SOURCE=.\config.h.win !IF "$(CFG)" == "vc_junkbuster - Win32 Release" -!ELSEIF "$(CFG)" == "vc_junkbuster - Win32 Debug" - -# Begin Custom Build - Copying pcre\chartables.c.win -InputDir=".\pcre" -InputPath=.\pcre\chartables.c.win +# Begin Custom Build - Copying config.h.win +InputDir=. +InputPath=.\config.h.win -"$(InputDir)\chartables.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - copy $(InputPath) $(InputDir)\chartables.c +"$(InputDir)\config.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + copy $(InputPath) $(InputDir)\config.h # End Custom Build -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\config.h.win - -!IF "$(CFG)" == "vc_junkbuster - Win32 Release" - !ELSEIF "$(CFG)" == "vc_junkbuster - Win32 Debug" # Begin Custom Build - Copying config.h.win -- 2.39.2