mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 16:50:24 +00:00
ZIP up help files when packaging
This commit is contained in:
@@ -147,6 +147,14 @@ if (!$release || !-d "$tardir/$dir") {
|
||||
if (!$min && -r "$tardir/$dir/gray-theme") {
|
||||
system("cd $tardir/$dir && ln -s gray-theme blue-theme");
|
||||
}
|
||||
|
||||
# ZIP up all help pages
|
||||
print "Zipping up help pages\n";
|
||||
foreach $help (map { "$tardir/$dir/$_/help" } @mlist) {
|
||||
if (-d $help) {
|
||||
system("cd $help && zip help.zip *.html >/dev/null && rm -f *.html");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Store release version, if set
|
||||
|
||||
Reference in New Issue
Block a user