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
6bab73fe
Commit
6bab73fe
authored
Jun 13, 2003
by
jake%bugzilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Optionally create a PDF version of the docs.
parent
d8826939
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
1 deletion
+19
-1
makedocs.pl
docs/makedocs.pl
+19
-1
No files found.
docs/makedocs.pl
View file @
6bab73fe
...
...
@@ -19,6 +19,7 @@
# Rights Reserved.
#
# Contributor(s): Matthew Tuck <matty@chariot.net.au>
# Jacob Steenhagen <jake@bugzilla.org>
# This script compiles all the documentation.
...
...
@@ -55,7 +56,7 @@ sub MakeDocs($$) {
my
(
$name
,
$cmdline
)
=
@_
;
print
"Creating $name documentation ...\n"
;
print
"Creating $name documentation ...\n"
if
defined
$name
;
print
"$cmdline\n\n"
;
system
$cmdline
;
print
"\n"
;
...
...
@@ -76,3 +77,20 @@ MakeDocs('big HTML', "jade -V nochunks -t sgml -i html -d " .
"../xml/Bugzilla-Guide.xml > Bugzilla-Guide.html"
);
MakeDocs
(
'big text'
,
"lynx -dump -justify=off -nolist Bugzilla-Guide.html "
.
"> ../txt/Bugzilla-Guide.txt"
);
if
(
!
grep
(
"--with-pdf"
,
@ARGV
))
{
exit
;
}
MakeDocs
(
'PDF'
,
"jade -t tex -d $LDP_HOME/ldp.dsl\#print $JADE_PUB/xml.dcl "
.
'../xml/Bugzilla-Guide.xml'
);
chdir
'../pdf'
;
MakeDocs
(
undef
,
'mv ../xml/Bugzilla-Guide.tex .'
);
MakeDocs
(
undef
,
'jadetex Bugzilla-Guide.tex'
);
MakeDocs
(
undef
,
'jadetex Bugzilla-Guide.tex'
);
MakeDocs
(
undef
,
'jadetex Bugzilla-Guide.tex'
);
MakeDocs
(
undef
,
'dvips -o Bugzilla-Guide.ps Bugzilla-Guide.dvi'
);
MakeDocs
(
undef
,
'ps2pdf Bugzilla-Guide.ps Bugzilla-Guide.pdf'
);
MakeDocs
(
undef
,
'rm Bugzilla-Guide.tex Bugzilla-Guide.log Bugzilla-Guide.dvi '
.
'Bugzilla-Guide.aux Bugzilla-Guide.ps'
);
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