annotate scripts/create-deps @ 234:eba3744fb238

Added my set of helper scripts. Removes the spell makefile target as it was not use{d,ful} anyway. Btw: I should have ran script/doubles before I printed the document. :-/
author markus schnalke <meillo@marmaro.de>
date Mon, 16 Jul 2012 11:23:30 +0200
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
234
eba3744fb238 Added my set of helper scripts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
1 #!/bin/sh
eba3744fb238 Added my set of helper scripts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
2 #
eba3744fb238 Added my set of helper scripts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
3 # Generate EPS files of the build dependency graph.
eba3744fb238 Added my set of helper scripts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
4 #
eba3744fb238 Added my set of helper scripts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
5 # Depends on dot(1) from GraphViz.
eba3744fb238 Added my set of helper scripts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
6
eba3744fb238 Added my set of helper scripts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
7 if [ $# -ne 1 ] ; then
eba3744fb238 Added my set of helper scripts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
8 echo "Usage: $0 uip/Makefile.in" >&2
eba3744fb238 Added my set of helper scripts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
9 exit 1
eba3744fb238 Added my set of helper scripts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
10 fi
eba3744fb238 Added my set of helper scripts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
11
eba3744fb238 Added my set of helper scripts.
markus schnalke <meillo@marmaro.de>
parents:
diff changeset
12 awk -f makedeps2dot "$1" | dot -Teps -o deps_`date +%F`.eps