root / Mulberry / trunk / Linux / links.sh

Revision 38, 1.0 kB (checked in by daboo, 2 years ago)

Renaming.

  • Property svn:executable set to *
Line 
1#!/bin/sh
2
3# paths to search
4
5all_paths="../Sources/Application \
6            ../Sources/Formatting \
7            ../Sources/Plugins \
8            ../Sources/PP_Sources \
9            ../Sources/Support \
10            ../../Sources_Common/Application \
11            ../../Sources_Common/Automation \
12            ../../Sources_Common/Calendar_Store \
13            ../../Sources_Common/Formatting \
14            ../../Sources_Common/HTTP \
15            ../../Sources_Common/i18n \
16            ../../Sources_Common/Mail \
17            ../../Sources_Common/Offline \
18            ../../Sources_Common/Plugins \
19            ../../Sources_Common/Resources \
20            ../../Sources_Common/Support \
21            ../../Sources_Common/Tasks \
22            ../../../Libraries/CICalendar/Source \
23            ../../../Libraries/XMLLib/Source"
24
25# clear out old link directory
26\rm -rf Includes/*
27cd Includes
28
29# get list of header files
30
31for item in $all_paths
32do
33    all_files="$all_files `find $item -name \".AppleDouble\" -prune -o -name \"*.h\" -print | tr \" \" \"_\"`"
34done
35
36# do links
37for item in $all_files
38do
39ln -s "$item" .
40#echo "$item"
41done
Note: See TracBrowser for help on using the browser.