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

Contents of /import_3rdparty_deps.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 92 - (show annotations) (download) (as text)
Thu Sep 9 16:33:43 2010 UTC (9 years, 4 months ago) by william
File MIME type: application/x-sh
File size: 1500 byte(s)
Adding scripts to:
1) Update ./trunk from ./upstream/trunk
2) insert dependencies into ./trunk
3) create latest branch
4) auto build latest branch
5) auto tag latest build
1 #!/bin/bash
2
3
4 #export downstream_export_location="`pwd`"
5
6
7 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 find $dependent_3rdparty_includes_location -type f -not -path "*.svn*" -exec bash -c '
16 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 ' \;
20 echo "Done."
21
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 #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 '
29 export src_dir_name=`dirname {} | sed s/".*\/"//`
30 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