1
echo -n '_DIST_FILES_WEBSETUP = ' > file.list
2
3
for f in `find ./www | egrep -v '(cgi-bin|separated_js|dss11main.js|\.po$|\.pot$|\.swp$|langpack.json$|index\.html$|\.in$|ext-all.js|ext-all-debug.js|ext-base.js|ext-base-debug.js|dss11.mo)' | sort`
4
do
5
    if (test -f $f); then
6
        echo " \\" >> file.list
7
        echo -n $f >> file.list
8
    fi
9
done
10
11
echo >> file.list
12
echo >> file.list
13
14
echo -n 'EXTRA_DIST_JS = ' > extra.list
15
16
for f in `find ./www/js/dss11/separated_js | egrep '\.js$' | egrep -v 'generated' | sort`
17
do
18
    if (test -f $f); then
19
        echo " \\" >> extra.list
20
        echo -n $f >> extra.list
21
    fi
22
done
23
24
echo >> extra.list
25
echo -n 'EXTRA_DIST_PO = ' >> extra.list
26
27
for f in `find ./www/locale  | egrep '(\.po$|\.pot$)' | sort`
28
do
29
    if (test -f $f); then
30
        echo " \\" >> extra.list
31
        echo -n $f >> extra.list
32
    fi
33
done
34
35
echo >> extra.list
36
echo >> extra.list
37
38
echo -n 'SCRIPT_FILES = ' > bin.list
39
40
for f in `find ./www/cgi-bin | egrep -v '(\.swp$|\.in$|langdefs.sh)' | sort`
41
do
42
    if (test -f $f); then
43
        echo " \\" >> bin.list
44
        echo -n $f >> bin.list
45
    fi
46
done
47
48
for f in `find ./scripts | egrep -v '(\.swp$|\.in$|langdefs.sh)' | sort`
49
do
50
    if (test -f $f); then
51
        echo " \\" >> bin.list
52
        echo -n $f >> bin.list
53
    fi
54
done
55
56
echo >> bin.list
57
echo >> bin.list