summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--solenv/bin/makemani.pl10
1 files changed, 7 insertions, 3 deletions
diff --git a/solenv/bin/makemani.pl b/solenv/bin/makemani.pl
index a97a7735923c..df11a50c7e17 100644
--- a/solenv/bin/makemani.pl
+++ b/solenv/bin/makemani.pl
@@ -11,7 +11,7 @@
#
# $RCSfile: makemani.pl,v $
#
-# $Revision: 1.4 $
+# $Revision: 1.5 $
#
# This file is part of OpenOffice.org.
#
@@ -52,7 +52,7 @@ sub wanted;
sub wanted {
- /^.*\.xcu\z/s
+ /^.*\.xc(s|u)\z/s
&& ( push @findlist, $name );
# && ( push @findlist, $name ) && print("$name\n");
}
@@ -97,7 +97,11 @@ my @bodylines;
my @taillines = ("</manifest:manifest>");
foreach my $i (@findlist) {
- push @bodylines, " <manifest:file-entry manifest:media-type=\"application/vnd.sun.star.configuration-data\"";
+ if ($i =~ m/^.*\.xcu\z/s) {
+ push @bodylines, " <manifest:file-entry manifest:media-type=\"application/vnd.sun.star.configuration-data\"";
+ } else {
+ push @bodylines, " <manifest:file-entry manifest:media-type=\"application/vnd.sun.star.configuration-schema\"";
+ }
push @bodylines, " manifest:full-path=\"$i\"/>";
}