diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-10-04 20:30:21 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-10-04 20:30:21 -0400 |
commit | be032a7b87d1080f1a54327346cb5b40432a056c (patch) | |
tree | d945e47c53ca110840491d8fe2cd96515ae5dfe3 /ikiwiki-transition | |
parent | b4c8cc90726cb953898b14f378881bddd224a22c (diff) | |
download | ikiwiki-be032a7b87d1080f1a54327346cb5b40432a056c.tar ikiwiki-be032a7b87d1080f1a54327346cb5b40432a056c.tar.gz |
rework dependency types code
Simplify, change default content depends number to 1,
change interface to make more sense.
Diffstat (limited to 'ikiwiki-transition')
-rwxr-xr-x | ikiwiki-transition | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ikiwiki-transition b/ikiwiki-transition index c50a748e8..1bebb1176 100755 --- a/ikiwiki-transition +++ b/ikiwiki-transition @@ -299,7 +299,7 @@ sub oldloadindex { $pagemtime{$page}=$items{mtime}[0]; $oldlinks{$page}=[@{$items{link}}]; $links{$page}=[@{$items{link}}]; - $depends{$page}={ $items{depends}[0] => $IkiWiki::DEPEND_CONTENT | $IkiWiki::DEPEND_EXISTS } if exists $items{depends}; + $depends{$page}={ $items{depends}[0] => $IkiWiki::DEPEND_CONTENT } if exists $items{depends}; $destsources{$_}=$page foreach @{$items{dest}}; $renderedfiles{$page}=[@{$items{dest}}]; $pagecase{lc $page}=$page; |