#!/bin/bash
# dev/docs/dep - script dependency documentation support

set -e

lib_load 'dev/docs/config'
lib_load 'dev/package/dep'


######
# Dependency Documentation

package_docs_deps_special() {
	dep_graph_all "$package_docs_refdir/$1.deps" "$1"
}

package_docs_deps_files() {
	local -a files=( "$@" )
	[ "${files[*]}" ] || files=( $(package_files_sources) )
	for_each package_docs_deps_file "${files[@]}"
}

package_docs_deps_file() {
	local file=$1
	local graph="$package_docs_refdir/$file.deps"
	dep_graph_all "$graph" files "$file.in"
}

View the Developer Guide Index

View the Reference Manual Index


Generated on Tue Jul 4 17:00:29 PDT 2017 by mcsh d14 v0.21.0.