Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
ec147c3f
Commit
ec147c3f
authored
Jul 30, 2006
by
mozilla%colinogilvie.co.uk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 346350: Update makedocs.pl for the mod_perl version details
Patch by Colin Ogilvie <colin.ogilvie@gmail.com>; r=mkanat; a=justdave
parent
ddddaf2b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletion
+15
-1
makedocs.pl
docs/makedocs.pl
+15
-1
No files found.
docs/makedocs.pl
View file @
ec147c3f
...
@@ -29,7 +29,7 @@ use strict;
...
@@ -29,7 +29,7 @@ use strict;
use
File::
Basename
;
use
File::
Basename
;
use
lib
(
".."
);
use
lib
(
".."
);
use
Bugzilla::Install::
Requirements
qw (REQUIRED_MODULES
OPTIONAL_MODULES
);
use
Bugzilla::Install::
Requirements
qw (REQUIRED_MODULES
OPTIONAL_MODULES
MOD_PERL_MODULES
);
use
Bugzilla::
Constants
qw (DB_MODULE);
use
Bugzilla::
Constants
qw (DB_MODULE);
chdir
dirname
(
$0
);
chdir
dirname
(
$0
);
...
@@ -39,6 +39,7 @@ chdir dirname($0);
...
@@ -39,6 +39,7 @@ chdir dirname($0);
my
$modules
=
REQUIRED_MODULES
;
my
$modules
=
REQUIRED_MODULES
;
my
$opt_modules
=
OPTIONAL_MODULES
;
my
$opt_modules
=
OPTIONAL_MODULES
;
my
$mod_perl_modules
=
MOD_PERL_MODULES
;
open
(
ENTITIES
,
'>'
,
'xml/bugzilla.ent'
)
or
die
(
'Could not open xml/bugzilla.ent: '
.
$!
);
open
(
ENTITIES
,
'>'
,
'xml/bugzilla.ent'
)
or
die
(
'Could not open xml/bugzilla.ent: '
.
$!
);
print
ENTITIES
'<?xml version="1.0"?>'
.
"\n\n"
;
print
ENTITIES
'<?xml version="1.0"?>'
.
"\n\n"
;
...
@@ -53,6 +54,19 @@ foreach my $module (@$modules, @$opt_modules)
...
@@ -53,6 +54,19 @@ foreach my $module (@$modules, @$opt_modules)
my
$version
=
$module
->
{
'version'
}
eq
0
?
'any'
:
$module
->
{
'version'
};
my
$version
=
$module
->
{
'version'
}
eq
0
?
'any'
:
$module
->
{
'version'
};
print
ENTITIES
'<!ENTITY min-'
.
$name
.
'-ver "'
.
$version
.
'">'
.
"\n"
;
print
ENTITIES
'<!ENTITY min-'
.
$name
.
'-ver "'
.
$version
.
'">'
.
"\n"
;
}
}
print
ENTITIES
"\n <!-- mod_perl Versions --> \n"
;
foreach
my
$module
(
@$mod_perl_modules
)
{
my
$name
=
$module
->
{
'name'
};
$name
=~
s/::/-/g
;
$name
=
lc
(
$name
);
#This needs to be a string comparison, due to the modules having
#version numbers like 0.9.4
my
$version
=
$module
->
{
'version'
}
eq
0
?
'any'
:
$module
->
{
'version'
};
print
ENTITIES
'<!ENTITY min-mp-'
.
$name
.
'-ver "'
.
$version
.
'">'
.
"\n"
;
}
print
ENTITIES
"\n <!-- Database Versions --> \n"
;
print
ENTITIES
"\n <!-- Database Versions --> \n"
;
my
$db_modules
=
DB_MODULE
;
my
$db_modules
=
DB_MODULE
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment