changeset 260:8dd91a524451

Thought that the files libiconv-2.dll and libintl-2.dll would not be needed with the new version of indent.exe, but indent doesn't work correct without them. So added them again into the build scripts. git-svn-id: svn://svn.code.sf.net/p/universalindent/code/trunk@474 59b1889a-e5ac-428c-b0c7-476e01d41282
author thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
date Mon, 15 Oct 2007 10:17:42 +0000
parents 630405daf645
children c4e329d9a69b
files buildWin32Release.sh buildwin32release_gcc.bat
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/buildWin32Release.sh	Fri Oct 12 14:23:15 2007 +0000
+++ b/buildWin32Release.sh	Mon Oct 15 10:17:42 2007 +0000
@@ -204,6 +204,9 @@
 echo "Copying the indenter executables and example file to the target data dir"
 echo "------------------------------------------------------------------------"
 indenters="astyle$ext astyle.html bcpp$ext bcpp.txt csstidy$ext gc.exe gc.txt htmltidy$ext htmltidy.html indent$ext indent.html uncrustify$ext uncrustify.txt example.cpp"
+if [ "$ext" = "exe" ]; then
+    indenters = $indenters + " libiconv-2.dll libintl-2.dll";
+fi
 for i in $indenters
 do
     cp ./data/$i ./$targetDir/data/ &> /dev/null
--- a/buildwin32release_gcc.bat	Fri Oct 12 14:23:15 2007 +0000
+++ b/buildwin32release_gcc.bat	Mon Oct 15 10:17:42 2007 +0000
@@ -54,7 +54,7 @@
 
 echo Copying the indenter executables and example file to the release data dir
 echo -------------------------------------------------------------------------
-FOR %%A IN ( astyle.exe, astyle.html, bcpp.exe, bcpp.txt, csstidy.exe, gc.exe, gc.txt, htmltidy.exe, htmltidy.html, indent.exe, indent.html, uncrustify.exe, uncrustify.txt, example.cpp ) DO (
+FOR %%A IN ( astyle.exe, astyle.html, bcpp.exe, bcpp.txt, csstidy.exe, gc.exe, gc.txt, htmltidy.exe, htmltidy.html, indent.exe, libiconv-2.dll, libintl-2.dll, indent.html, uncrustify.exe, uncrustify.txt, example.cpp ) DO (
     if not exist .\data\%%A (
         echo File .\data\%%A not found!
         goto ERROR