From e0c290de993697846b56d3c1c0960321e6f86ba2 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Thu, 12 Jan 2006 01:06:20 +0000 Subject: [PATCH] Make docs build when header files change, make svnversion work properly with long file names both on msvc. Still need to address the situation when svnversion is not found on the machine, when the internet is not available to determine version at build time, or what to do when the release is from a tarball, and not an svn checkout. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@320 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- docs/docs.vcproj | 147 ++++++++++-------------------------------- w32/vsnet/GetLibs.vbs | 4 +- 2 files changed, 35 insertions(+), 116 deletions(-) diff --git a/docs/docs.vcproj b/docs/docs.vcproj index 98634c2285..be9173ec07 100644 --- a/docs/docs.vcproj +++ b/docs/docs.vcproj @@ -11,23 +11,25 @@ Name="Win32" /> + + - - - - @@ -82,18 +80,18 @@ Name="Release|Win32" OutputDirectory="$(SolutionDir)$(ConfigurationName)" IntermediateDirectory="$(ConfigurationName)" - ConfigurationType="1" + ConfigurationType="4" + BuildLogFile="" > - - - - @@ -160,7 +154,10 @@ Name="Debug|Win32" > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/w32/vsnet/GetLibs.vbs b/w32/vsnet/GetLibs.vbs index 7c1974a99a..8da13246f5 100644 --- a/w32/vsnet/GetLibs.vbs +++ b/w32/vsnet/GetLibs.vbs @@ -102,7 +102,7 @@ End If If BuildCore Then FSO.CopyFile FreeswitchDir & "src\include\switch_version.h.in", FreeswitchDir & "src\include\switch_version.h", true - VersionCmd="svnversion " & FreeswitchDir & " -n" + VersionCmd="svnversion " & quote & FreeswitchDir & "." & quote & " -n" Set MyFile = fso.CreateTextFile(UtilsDir & "tmpVersion.Bat", True) MyFile.WriteLine("@" & VersionCmd) MyFile.Close @@ -822,4 +822,4 @@ End Sub Function Showpath(folderspec) Set f = FSO.GetFolder(folderspec) showpath = f.path & "\" -End Function \ No newline at end of file +End Function