diff options
author | dteske <dteske@FreeBSD.org> | 2013-05-07 04:47:56 +0000 |
---|---|---|
committer | dteske <dteske@FreeBSD.org> | 2013-05-07 04:47:56 +0000 |
commit | 10fa20ef4fa0cb58cb905dd895eab6d587a359b1 (patch) | |
tree | 865ca685a8b5c95b33db3c7b477ac21bf2b91a20 /usr.sbin/bsdconfig/dot | |
parent | dd7d8328e3c59b8fa656ee893ece055dbb459ea9 (diff) | |
download | FreeBSD-src-10fa20ef4fa0cb58cb905dd895eab6d587a359b1.zip FreeBSD-src-10fa20ef4fa0cb58cb905dd895eab6d587a359b1.tar.gz |
Explicitly track "script.subr" which wasn't showing up in the graph because
it's not used by anything within bsdconfig nor any modules (rather, the
script.subr include is designed to be used externally -- nonetheless we
want to track it in the modular graph outputs showing includes).
Diffstat (limited to 'usr.sbin/bsdconfig/dot')
-rwxr-xr-x | usr.sbin/bsdconfig/dot/dot | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.sbin/bsdconfig/dot/dot b/usr.sbin/bsdconfig/dot/dot index 367c152..f273c51 100755 --- a/usr.sbin/bsdconfig/dot/dot +++ b/usr.sbin/bsdconfig/dot/dot @@ -299,6 +299,12 @@ if [ "$SHOW_INCLUDES" ]; then fi # +# Add script.subr to includes if it exists +# +[ -f $BSDCFG_SHARE/script.subr ] && + include_file_list="$include_file_list script.subr" + +# # Start the directional-graph (digraph) output # printf 'strict digraph "" { // Empty name to prevent SVG Auto-Tooltip\n' |