updated graph-includes config and command-line for newly-released v0.5

This commit is contained in:
Yann Dirson 2005-04-21 18:18:16 +00:00
parent caa881fb07
commit da2cd32ef2
2 changed files with 4 additions and 1 deletions

View file

@ -105,6 +105,7 @@ EXTRA_DIST = config/config.rpath
# latest graph-includes.pl can be found currently at http://ydirson.free.fr/soft/wesnoth/graphs/
wesnoth-deps.dot:
(cd $(top_srcdir) && graph-includes -v --class wesnoth --group 1-1 \
-sysI /usr/include/c++/3.3 -sysI /usr/include -sysI /usr/include/SDL \
--prefixstrip src/ -I src `find src -name '*.[ch]pp'`) > $@
%.ps: %.dot
dot -Tps $< > $@

View file

@ -9,10 +9,12 @@ use warnings;
use base qw(graphincludes::project::default);
use graphincludes::params;
sub filelabel {
my $self = shift;
my ($file,$level) = @_;
$level = $main::minshow unless defined $level;
$level = $graphincludes::params::minshow unless defined $level;
# 0: file