aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Setup/Standard.pm
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-07-28 17:48:24 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-07-28 17:48:24 +0000
commita0653933d324f30838fe04d5f9aaab8b130014b2 (patch)
treeb8c1bd9ed42cf27dd6b5238e19020bf06d55e87d /IkiWiki/Setup/Standard.pm
parent201e681d3413d93c99af614042d26ad9a74edfcf (diff)
downloadikiwiki-a0653933d324f30838fe04d5f9aaab8b130014b2.tar
ikiwiki-a0653933d324f30838fe04d5f9aaab8b130014b2.tar.gz
* Add exclude option in setup files, works same as --exclude.
Diffstat (limited to 'IkiWiki/Setup/Standard.pm')
-rw-r--r--IkiWiki/Setup/Standard.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/IkiWiki/Setup/Standard.pm b/IkiWiki/Setup/Standard.pm
index 4082ca7af..b1418ae34 100644
--- a/IkiWiki/Setup/Standard.pm
+++ b/IkiWiki/Setup/Standard.pm
@@ -30,6 +30,9 @@ sub setup_standard {
}
delete $setup{disable_plugins};
}
+ if (exists $setup{exclude}) {
+ $config{wiki_file_prune_regexp}=qr/$config{wiki_file_prune_regexp}|$setup{exclude}/;
+ }
debug("generating wrappers..");
my @wrappers=@{$setup{wrappers}};