]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/skeleton.pm
* Add the needsbuild hook. Plugins can use this to manipulate which files
[ikiwiki.git] / IkiWiki / Plugin / skeleton.pm
index b8c327c9d9a3281acd587ec812a8b44154384fdb..fb4cfe9afada4bc62398f32b208cb9c1490b2ec8 100644 (file)
@@ -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=@_;