updated graph-includes config and command-line for newly-released v0.5
This commit is contained in:
parent
caa881fb07
commit
da2cd32ef2
2 changed files with 4 additions and 1 deletions
|
@ -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/
|
# latest graph-includes.pl can be found currently at http://ydirson.free.fr/soft/wesnoth/graphs/
|
||||||
wesnoth-deps.dot:
|
wesnoth-deps.dot:
|
||||||
(cd $(top_srcdir) && graph-includes -v --class wesnoth --group 1-1 \
|
(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'`) > $@
|
--prefixstrip src/ -I src `find src -name '*.[ch]pp'`) > $@
|
||||||
%.ps: %.dot
|
%.ps: %.dot
|
||||||
dot -Tps $< > $@
|
dot -Tps $< > $@
|
||||||
|
|
|
@ -9,10 +9,12 @@ use warnings;
|
||||||
|
|
||||||
use base qw(graphincludes::project::default);
|
use base qw(graphincludes::project::default);
|
||||||
|
|
||||||
|
use graphincludes::params;
|
||||||
|
|
||||||
sub filelabel {
|
sub filelabel {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
my ($file,$level) = @_;
|
my ($file,$level) = @_;
|
||||||
$level = $main::minshow unless defined $level;
|
$level = $graphincludes::params::minshow unless defined $level;
|
||||||
|
|
||||||
# 0: file
|
# 0: file
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue