]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Setup/Standard.pm
Merge branch 'master' into autoconfig
[ikiwiki.git] / IkiWiki / Setup / Standard.pm
index 22bfc38a40440df88915375e2d02dd307aebe0e1..54819ae75d822b85f86d7ecdb0b0c30a28094855 100644 (file)
@@ -71,7 +71,8 @@ sub dumpvalues ($@) { #{{{
        return @ret;
 } #}}}
 
-sub gendump () { #{{{
+sub gendump ($) { #{{{
+       my $description=shift;
        my %setup=(%config);
        my @ret;
        
@@ -88,14 +89,15 @@ sub gendump () { #{{{
                push @ret, "";
        }
        
-       unshift @ret, "#!/usr/bin/perl
-# Setup file for ikiwiki.
-# Passing this to ikiwiki --setup will make ikiwiki generate wrappers and
-# build the wiki.
-#
-# Remember to re-run ikiwiki --setup any time you edit this file.
-
-use IkiWiki::Setup::Standard {";
+       unshift @ret,
+               "#!/usr/bin/perl",
+               "# $description",
+               "#",
+               "# Passing this to ikiwiki --setup will make ikiwiki generate",
+               "# wrappers and build the wiki.",
+               "#",
+               "# Remember to re-run ikiwiki --setup any time you edit this file.",
+               "use IkiWiki::Setup::Standard {";
        push @ret, "}";
 
        return @ret;