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
4d734cd3
Commit
4d734cd3
authored
Sep 15, 2006
by
mozilla%colinogilvie.co.uk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 351958: Allow buidling the API documentation without the rest of the build environment
Patch by Colin Ogilvie <colin.ogilvie@gmail.com>; r=mkanat; a=justdave
parent
5f3adf30
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
makedocs.pl
docs/makedocs.pl
+9
-4
No files found.
docs/makedocs.pl
View file @
4d734cd3
...
...
@@ -103,20 +103,24 @@ close(ENTITIES);
# Environment Variable Checking
###############################################################################
my
(
$JADE_PUB
,
$LDP_HOME
);
my
(
$JADE_PUB
,
$LDP_HOME
,
$build_docs
);
$build_docs
=
1
;
if
(
defined
$ENV
{
JADE_PUB
}
&&
$ENV
{
JADE_PUB
}
ne
''
)
{
$JADE_PUB
=
$ENV
{
JADE_PUB
};
}
else
{
die
"You need to set the JADE_PUB environment variable first."
;
print
"To build 'The Bugzilla Guide', you need to set the "
;
print
"JADE_PUB environment variable first.\n"
;
$build_docs
=
0
;
}
if
(
defined
$ENV
{
LDP_HOME
}
&&
$ENV
{
LDP_HOME
}
ne
''
)
{
$LDP_HOME
=
$ENV
{
LDP_HOME
};
}
else
{
die
"You need to set the LDP_HOME environment variable first."
;
print
"To build 'The Bugzilla Guide', you need to set the "
;
print
"LDP_HOME environment variable first.\n"
;
$build_docs
=
0
;
}
###############################################################################
...
...
@@ -182,6 +186,7 @@ if (!-d 'pdf') {
}
make_pod
()
if
$pod_simple
;
exit
unless
$build_docs
;
chdir
'html'
;
...
...
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