Commit | Line | Data |
---|---|---|
5d394f70 SG |
1 | # .Sanitize for devo/gdb/osf-share. |
2 | ||
3 | # Each directory to survive its way into a release will need a file | |
4 | # like this one called "./.Sanitize". All keyword lines must exist, | |
5 | # and must exist in the order specified by this file. Each directory | |
6 | # in the tree will be processed, top down, in the following order. | |
7 | ||
8 | # Hash started lines like this one are comments and will be deleted | |
9 | # before anything else is done. Blank lines will also be squashed | |
10 | # out. | |
11 | ||
12 | # The lines between the "Do-first:" line and the "Things-to-keep:" | |
13 | # line are executed as a /bin/sh shell script before anything else is | |
14 | # done in this directory. | |
15 | ||
16 | Do-first: | |
17 | ||
18 | # All files listed between the "Things-to-keep:" line and the | |
19 | # "Files-to-sed:" line will be kept. All other files will be removed. | |
20 | # Directories listed in this section will have their own Sanitize | |
21 | # called. Directories not listed will be removed in their entirety | |
22 | # with rm -rf. | |
23 | ||
24 | Things-to-keep: | |
25 | ||
26 | AT386 | |
27 | HP800 | |
28 | RIOS | |
29 | cma_attr.h | |
30 | cma_deb_core.h | |
31 | cma_debug_client.h | |
32 | cma_errors.h | |
33 | cma_handle.h | |
34 | cma_init.h | |
35 | cma_list.h | |
36 | cma_mutex.h | |
37 | cma_sched.h | |
38 | cma_semaphore_defs.h | |
39 | cma_sequence.h | |
40 | cma_stack.h | |
41 | cma_stack_int.h | |
42 | cma_tcb_defs.h | |
43 | cma_util.h | |
44 | ||
45 | # Things which are explicitly *not* kept, for now. | |
46 | ||
47 | Things-to-lose: | |
48 | ||
49 | Do-last: | |
50 | ||
51 | # Don't try to clean directories here, as the 'mv' command will fail. | |
52 | # Also, grep fails on NFS mounted directories. | |
53 | ||
54 | for i in * ; do | |
55 | if test ! -d $i && (grep sanitize $i > /dev/null) ; then | |
56 | echo '***' Some mentions of Sanitize are still left in $i! 1>&2 | |
57 | fi | |
58 | done | |
59 | ||
60 | # | |
61 | # End of file. |