summaryrefslogtreecommitdiffstats
path: root/docs/makedocs.pl
diff options
context:
space:
mode:
authorjustdave%syndicomm.com <>2004-02-05 13:49:08 +0100
committerjustdave%syndicomm.com <>2004-02-05 13:49:08 +0100
commit11945a73c631bedbcf8daaba531964c3fc2d6333 (patch)
tree6c23288dd801bd8a1bf9ad548eb9a4e82cd24eef /docs/makedocs.pl
parentcfc778d1fc757e022c0755ccc5ecd430790ce8be (diff)
downloadbugzilla-11945a73c631bedbcf8daaba531964c3fc2d6333.tar.gz
bugzilla-11945a73c631bedbcf8daaba531964c3fc2d6333.tar.xz
- 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.
Diffstat (limited to 'docs/makedocs.pl')
-rw-r--r--docs/makedocs.pl16
1 files changed, 15 insertions, 1 deletions
diff --git a/docs/makedocs.pl b/docs/makedocs.pl
index 0b1eea47d..2fb0911b2 100644
--- a/docs/makedocs.pl
+++ b/docs/makedocs.pl
@@ -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');