зеркало из https://github.com/mozilla/pjs.git
- Remove html, txt, and pdf directories from CVS
- makedocs.pl now creates said directories when building the docs The idea here is that it's useless to have compiled stuff in CVS. The website will now auto-build the docs upon changes to the xml directory.
This commit is contained in:
Родитель
f6102d5356
Коммит
c246cf5925
|
@ -68,6 +68,20 @@ sub MakeDocs($$) {
|
|||
###############################################################################
|
||||
|
||||
chdir dirname($0);
|
||||
|
||||
if (!-d 'html') {
|
||||
unlink 'html';
|
||||
mkdir 'html', 0755;
|
||||
}
|
||||
if (!-d 'txt') {
|
||||
unlink 'txt';
|
||||
mkdir 'txt', 0755;
|
||||
}
|
||||
if (!-d 'pdf') {
|
||||
unlink 'pdf';
|
||||
mkdir 'pdf', 0755;
|
||||
}
|
||||
|
||||
chdir 'html';
|
||||
|
||||
MakeDocs('separate HTML', "jade -t sgml -i html -d $LDP_HOME/ldp.dsl\#html " .
|
||||
|
@ -89,5 +103,5 @@ MakeDocs(undef, 'mv ../xml/Bugzilla-Guide.tex .');
|
|||
MakeDocs(undef, 'pdfjadetex Bugzilla-Guide.tex');
|
||||
MakeDocs(undef, 'pdfjadetex Bugzilla-Guide.tex');
|
||||
MakeDocs(undef, 'pdfjadetex Bugzilla-Guide.tex');
|
||||
MakeDocs(undef, 'rm Bugzilla-Guide.tex Bugzilla-Guide.log Bugzilla-Guide.aux');
|
||||
MakeDocs(undef, 'rm Bugzilla-Guide.tex Bugzilla-Guide.log Bugzilla-Guide.aux Bugzilla-Guide.out');
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче