From 11945a73c631bedbcf8daaba531964c3fc2d6333 Mon Sep 17 00:00:00 2001 From: "justdave%syndicomm.com" <> Date: Thu, 5 Feb 2004 12:49:08 +0000 Subject: - 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. --- docs/makedocs.pl | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'docs/makedocs.pl') 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'); -- cgit v1.2.3-24-g4f1b