1
echo -n '_DIST_FILES_WEB = ' > file.list
2
3
for f in `find ./webroot | egrep -v '(dss-setup-interface|dss-setup-interface.js|dss-overview-page.js|dss-interface-module.js|\.po$|\.pot$|\.swp$|\.in$|\.json$|setup\.html$|index\.html$|ext-all.js|ext-all-debug.js|ext-base.js|ext-base-debug.js|\.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 'JS_SOURCE_FILES = ' > extra.list
15
16
for f in `find ./webroot/js/dss/dss-setup-interface | egrep '\.js$' | 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 += ' >> extra.list
26
27
for f in `find ./webroot/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