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 | |
5621d991 | 28 | README |
5d394f70 SG |
29 | RIOS |
30 | cma_attr.h | |
31 | cma_deb_core.h | |
32 | cma_debug_client.h | |
33 | cma_errors.h | |
34 | cma_handle.h | |
35 | cma_init.h | |
36 | cma_list.h | |
37 | cma_mutex.h | |
38 | cma_sched.h | |
39 | cma_semaphore_defs.h | |
40 | cma_sequence.h | |
41 | cma_stack.h | |
42 | cma_stack_int.h | |
43 | cma_tcb_defs.h | |
44 | cma_util.h | |
45 | ||
46 | # Things which are explicitly *not* kept, for now. | |
47 | ||
48 | Things-to-lose: | |
49 | ||
50 | Do-last: | |
51 | ||
52 | # Don't try to clean directories here, as the 'mv' command will fail. | |
53 | # Also, grep fails on NFS mounted directories. | |
54 | ||
55 | for i in * ; do | |
56 | if test ! -d $i && (grep sanitize $i > /dev/null) ; then | |
57 | echo '***' Some mentions of Sanitize are still left in $i! 1>&2 | |
58 | fi | |
59 | done | |
60 | ||
61 | # | |
62 | # End of file. |