File: update_src_for_link_system_libs.sh

package info (click to toggle)
monodevelop 2.4%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 54,088 kB
  • ctags: 67,523
  • sloc: cs: 436,824; xml: 18,137; makefile: 5,722; sh: 1,085; sed: 2
file content (17 lines) | stat: -rw-r--r-- 1,453 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

#echo "Updating Mono.Addins references"
##find . \( -name "*.am" -or -name "*.in" \) -exec perl -pe 's!-r\:\$\(top_(src|build)dir\)/(contrib|build/bin)/Mono\.Addins\.(Gui\.|Setup\.)?dll!-r:/usr/lib/cli/mono-addins-0.2/Mono.Addins.${3}dll!g' -i {} \;
#find . \( -name "*.am" -or -name "*.in" \) -exec perl -pe 's!-r\:\$\(top_(src|build)dir\)/(contrib|build/bin)/Mono\.Addins\.dll!\$(shell pkg-config --libs mono-addins)!g' -i {} \;
#find . \( -name "*.am" -or -name "*.in" \) -exec perl -pe 's!-r\:\$\(top_(src|build)dir\)/(contrib|build/bin)/Mono\.Addins\.Gui\.dll!\$(shell pkg-config --libs mono-addins-gui)!g' -i {} \;
#find . \( -name "*.am" -or -name "*.in" \) -exec perl -pe 's!-r\:\$\(top_(src|build)dir\)/(contrib|build/bin)/Mono\.Addins\.Setup\.dll!\$(shell pkg-config --libs mono-addins-setup)!g' -i {} \;

echo "Updating Mono.Cecil references"
find . \( -name "*.am" -or -name "*.in" \) -exec perl -pe 's!-r:\$\(top_(src|build)dir\)/(contrib|build/bin)/Mono.Cecil.dll!\$(shell pkg-config --libs mono-cecil)!g' -i {} \;
find . \( -name "*.am" -or -name "*.in" \) -exec perl -pe 's!-r:\$\(top_(src|build)dir\)/(contrib|build/bin)/Mono.Cecil.Mdb.dll!!g' -i {} \;

#echo "Updating log4net references"
#find . \( -name "*.am" -or -name "*.in" \) -exec perl -pe 's!-r:\$\(top_(src|build)dir\)/(contrib|build/bin)/log4net.dll!\$(shell pkg-config --libs log4net)!g' -i {} \;

echo "Deleting reject files (*.rej)"
find -name "*.rej" -delete