From 72c53650ad4a708493880daa75cdda9d056fc75e Mon Sep 17 00:00:00 2001 From: joey Date: Wed, 9 May 2007 00:48:09 +0000 Subject: * Add the needsbuild hook. Plugins can use this to manipulate which files ikiwiki builds when refreshing the wiki. --- IkiWiki/Plugin/skeleton.pm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'IkiWiki/Plugin') diff --git a/IkiWiki/Plugin/skeleton.pm b/IkiWiki/Plugin/skeleton.pm index b8c327c9d..fb4cfe9af 100644 --- a/IkiWiki/Plugin/skeleton.pm +++ b/IkiWiki/Plugin/skeleton.pm @@ -11,6 +11,7 @@ use IkiWiki 2.00; sub import { #{{{ hook(type => "getopt", id => "skeleton", call => \&getopt); hook(type => "checkconfig", id => "skeleton", call => \&checkconfig); + hook(type => "needsbuild", id => "skeleton", call => \&needsbuild); hook(type => "preprocess", id => "skeleton", call => \&preprocess); hook(type => "filter", id => "skeleton", call => \&filter); hook(type => "htmlize", id => "skeleton", call => \&htmlize); @@ -35,6 +36,10 @@ sub checkconfig () { #{{{ debug("skeleton plugin checkconfig"); } #}}} +sub needsbuild () { #{{{ + debug("skeleton plugin needsbuild"); +} #}}} + sub preprocess (@) { #{{{ my %params=@_; -- cgit v1.2.3