]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Setup/Standard.pm
move generic comment into IkiWiki::Setup
[ikiwiki.git] / IkiWiki / Setup / Standard.pm
index 9c177e497ae105a4e8646c40425cfc46f8a25644..92e97c4b41fcbaed41b1a4ca2e787da7913f0526 100644 (file)
@@ -12,20 +12,15 @@ sub import {
        IkiWiki::Setup::merge($_[1]);
 }
 
-sub gendump ($$) {
+sub gendump ($@) {
        my $class=shift;
-       my $description=shift;
 
        "#!/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.",
+       (map { "# $_" } @_),
        "use IkiWiki::Setup::Standard {",
        IkiWiki::Setup::commented_dump(\&dumpline),
-       "}";
+       "}"
 }
 
 sub dumpline ($$$$) {