/[pcsx2_0.9.7]/import_3rdparty_deps.sh
ViewVC logotype

Diff of /import_3rdparty_deps.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 27 by william, Tue Sep 7 00:56:56 2010 UTC revision 28 by william, Tue Sep 7 01:26:06 2010 UTC
# Line 1  Line 1 
1  #!/bin/bash  #!/bin/bash
2    
3  export downstream_export_location="`pwd`"  
4    #export downstream_export_location="`pwd`"
5    
6    
7  export dependent_3rdparty_includes_location="$downstream_export_location/3rdparty_deps/includes"  export dependent_3rdparty_includes_location="$downstream_export_location/3rdparty_deps/includes"
8  export dependent_3rdparty_libs_location="$downstream_export_location/3rdparty_deps/libs"  export dependent_3rdparty_libs_location="$downstream_export_location/3rdparty_deps/libs"
9    
# Line 9  echo Line 12  echo
12  echo -n "COPYING: Dependent Includes Files from $dependent_3rdparty_includes_location -> $downstream_export_location/trunk/3rdparty ... "  echo -n "COPYING: Dependent Includes Files from $dependent_3rdparty_includes_location -> $downstream_export_location/trunk/3rdparty ... "
13  #cp -Rf "$dependent_3rdparty_includes_location"/* "$downstream_export_location/trunk/3rdparty/" && echo "Done." || echo "Failed."  #cp -Rf "$dependent_3rdparty_includes_location"/* "$downstream_export_location/trunk/3rdparty/" && echo "Done." || echo "Failed."
14    
15  find "$dependent_3rdparty_includes_location"/* -type f -not -path "*svn*" -exec bash -c '  find $dependent_3rdparty_includes_location -type f -not -path "*svn*" -exec bash -c '
16          export src_dir_name=`dirname {} | sed s/".*\/"//`          export src_dir_name=`dirname {} | sed s/".*\/"//`
17          mkdir -p "$downstream_export_location/trunk/3rdparty/$src_dir_name"          mkdir -p "$downstream_export_location/trunk/3rdparty/$src_dir_name"
18          cp -f "{}" "$downstream_export_location/trunk/3rdparty/$src_dir_name/"          cp -f "{}" "$downstream_export_location/trunk/3rdparty/$src_dir_name/"
19  ' \; echo "Done."  ' \;
20    echo "Done."
21    
22    
23  mkdir -p "$downstream_export_location/trunk/deps/Win32/Debug/"  mkdir -p "$downstream_export_location/trunk/deps/Win32/Debug/"
24  echo  echo
25  echo -n "COPYING: Dependent Library Files from $dependent_3rdparty_libs_location -> $downstream_export_location/trunk/deps/Win32/Debug ... "  echo -n "COPYING: Dependent Library Files from $dependent_3rdparty_libs_location -> $downstream_export_location/trunk/deps/Win32/Debug ... "
26  #cp -f "$dependent_3rdparty_libs_location"/*.lib "$downstream_export_location/trunk/deps/Win32/Debug/" && echo "Done." || echo "Failed."  #cp -f "$dependent_3rdparty_libs_location"/ "$downstream_export_location/trunk/deps/Win32/Debug/" && echo "Done." || echo "Failed."
27    
28  find "$dependent_3rdparty_libs_location"/* -type f -not -path "*svn*" -exec bash -c '  find $dependent_3rdparty_libs_location -type f -not -path "*svn*" -exec bash -c '
29          export src_dir_name=`dirname {} | sed s/".*\/"//`          export src_dir_name=`dirname {} | sed s/".*\/"//`
30          mkdir -p "$downstream_export_location/trunk/3rdparty/$src_dir_name"          mkdir -p "$downstream_export_location/trunk/deps/Win32/Debug/"
31          cp -f "{}" "$downstream_export_location/trunk/3rdparty/$src_dir_name/"          cp -f "{}" "$downstream_export_location/trunk/deps/Win32/Debug/"
32  ' \; echo "Done."  ' \;
33    echo "Done."

Legend:
Removed from v.27  
changed lines
  Added in v.28

  ViewVC Help
Powered by ViewVC 1.1.22