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

Contents of /auto_import_3rdparty_deps.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 94 - (show annotations) (download) (as text)
Thu Sep 9 16:57:05 2010 UTC (10 years, 2 months ago) by william
File MIME type: application/x-sh
File size: 1473 byte(s)
Moved all Auto script definitions into auto_defs.sh.
Updated all auto scripts to call . ./auto_defs.sh
1 #!/bin/bash
2
3
4 . ./auto_defs.sh
5
6 export dependent_3rdparty_includes_location="$downstream_export_location/3rdparty_deps/includes"
7 export dependent_3rdparty_libs_location="$downstream_export_location/3rdparty_deps/libs"
8
9 mkdir -p "$downstream_export_location/trunk/3rdparty/"
10 echo
11 echo -n "COPYING: Dependent Includes Files from $dependent_3rdparty_includes_location -> $downstream_export_location/trunk/3rdparty ... "
12 #cp -Rf "$dependent_3rdparty_includes_location"/* "$downstream_export_location/trunk/3rdparty/" && echo "Done." || echo "Failed."
13
14 find $dependent_3rdparty_includes_location -type f -not -path "*.svn*" -exec bash -c '
15 export src_dir_name=`dirname {} | sed s/".*\/"//`
16 mkdir -p "$downstream_export_location/trunk/3rdparty/$src_dir_name"
17 cp -f "{}" "$downstream_export_location/trunk/3rdparty/$src_dir_name/"
18 ' \;
19 echo "Done."
20
21
22 mkdir -p "$downstream_export_location/trunk/deps/Win32/Debug/"
23 echo
24 echo -n "COPYING: Dependent Library Files from $dependent_3rdparty_libs_location -> $downstream_export_location/trunk/deps/Win32/Debug ... "
25 #cp -f "$dependent_3rdparty_libs_location"/ "$downstream_export_location/trunk/deps/Win32/Debug/" && echo "Done." || echo "Failed."
26
27 find $dependent_3rdparty_libs_location -type f -not -path "*.svn*" -exec bash -c '
28 export src_dir_name=`dirname {} | sed s/".*\/"//`
29 mkdir -p "$downstream_export_location/trunk/deps/Win32/Debug/"
30 cp -f "{}" "$downstream_export_location/trunk/deps/Win32/Debug/"
31 ' \;
32 echo "Done."

  ViewVC Help
Powered by ViewVC 1.1.22