doc: Clarify the release process for a first stable
[tor.git] / scripts / maint / run_calltool.sh
blob025a49cd0397f2ab13df3b59c2ce6aaf26c60d38
1 #!/bin/sh
3 # You can find calltool at https://gitweb.torproject.org/user/nickm/calltool.git
5 set -e
7 if test "x$CALLTOOL_PATH" != "x"; then
8 PYTHONPATH="${CALLTOOL_PATH}:${PYTHONPATH}"
9 export PYTHONPATH
12 mkdir -p callgraph
14 SUBITEMS="fn_graph fn_invgraph fn_scc fn_scc_weaklinks module_graph module_invgraph module_scc module_scc_weaklinks"
16 for calculation in $SUBITEMS; do
17 echo "======== $calculation"
18 python -m calltool "$calculation" > callgraph/"$calculation"
19 done
21 cat <<EOF > callgraph/README
22 This directory holds output from calltool, as run on Tor. For more
23 information about each of these files, see the NOTES and README files in
24 the calltool distribution.
26 You can find calltool at
27 https://gitweb.torproject.org/user/nickm/calltool.git
28 EOF