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

Annotation of /import_3rdparty_deps.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 28 - (hide annotations) (download) (as text)
Tue Sep 7 01:26:06 2010 UTC (10 years ago) by william
File MIME type: application/x-sh
File size: 1498 byte(s)
fix 3rdparty_deps and patched script
1 william 26 #!/bin/bash
2    
3 william 28
4     #export downstream_export_location="`pwd`"
5    
6    
7 william 26 export dependent_3rdparty_includes_location="$downstream_export_location/3rdparty_deps/includes"
8     export dependent_3rdparty_libs_location="$downstream_export_location/3rdparty_deps/libs"
9    
10     mkdir -p "$downstream_export_location/trunk/3rdparty/"
11     echo
12     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."
14    
15 william 28 find $dependent_3rdparty_includes_location -type f -not -path "*svn*" -exec bash -c '
16 william 26 export src_dir_name=`dirname {} | sed s/".*\/"//`
17     mkdir -p "$downstream_export_location/trunk/3rdparty/$src_dir_name"
18     cp -f "{}" "$downstream_export_location/trunk/3rdparty/$src_dir_name/"
19 william 28 ' \;
20     echo "Done."
21 william 26
22    
23     mkdir -p "$downstream_export_location/trunk/deps/Win32/Debug/"
24     echo
25     echo -n "COPYING: Dependent Library Files from $dependent_3rdparty_libs_location -> $downstream_export_location/trunk/deps/Win32/Debug ... "
26 william 28 #cp -f "$dependent_3rdparty_libs_location"/ "$downstream_export_location/trunk/deps/Win32/Debug/" && echo "Done." || echo "Failed."
27 william 26
28 william 28 find $dependent_3rdparty_libs_location -type f -not -path "*svn*" -exec bash -c '
29 william 26 export src_dir_name=`dirname {} | sed s/".*\/"//`
30 william 28 mkdir -p "$downstream_export_location/trunk/deps/Win32/Debug/"
31     cp -f "{}" "$downstream_export_location/trunk/deps/Win32/Debug/"
32     ' \;
33     echo "Done."

  ViewVC Help
Powered by ViewVC 1.1.22