summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2003-08-26 12:57:06 +0000
committerRobert Schwebel <r.schwebel@pengutronix.de>2003-08-26 12:57:06 +0000
commit78c2b6cec7091e04a201c17bfbeb7bbf9c50d515 (patch)
tree83ae81058707048b0289fc5b3378b225c1b72d75 /Makefile
parent6313eeb7a30bd06b40edfcf0efcd462743dcad62 (diff)
downloadptxdist-78c2b6cec7091e04a201c17bfbeb7bbf9c50d515.tar.gz
ptxdist-78c2b6cec7091e04a201c17bfbeb7bbf9c50d515.tar.xz
Execute "dot" only when available and avoid error. [RSC]
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunk@206 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 76573eeab..0a384d5b6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.21 2003/08/25 23:45:21 mkl Exp $
+# $Id: Makefile,v 1.22 2003/08/26 12:57:06 robert Exp $
#
# (c) 2002 by Robert Schwebel <r.schwebel@pengutronix.de>
# (c) 2002 by Jochen Striepe <ptxdist@tolot.escape.de>
@@ -90,7 +90,11 @@ dep_output_clean:
touch $(DEP_OUTPUT)
dep_tree:
+ifneq ("", $(shell which dot))
@sort $(DEP_OUTPUT) | uniq | scripts/makedeptree | $(DOT) -Tps > $(DEP_TREE_PS)
+else
+ echo "Install 'dot' from graphviz packet if you want to have a nice dependency tree" > $(DEP_TREE_PS)
+endif
dep_world: $(PACKAGES_TARGETINSTALL)
@echo $@ : $^ | sed -e "s/_/./g" >> $(DEP_OUTPUT)