diff options
author | justdave%syndicomm.com <> | 2004-03-22 15:15:36 +0000 |
---|---|---|
committer | justdave%syndicomm.com <> | 2004-03-22 15:15:36 +0000 |
commit | ba83e386e691db67bc497e5a91e741fd92d352c0 (patch) | |
tree | 9a18a31d429f909ce136336f0e3b4486b387fab6 | |
parent | Removing the txt and html directories, so the website and tarball builds can ... (diff) | |
download | bugzilla-ba83e386e691db67bc497e5a91e741fd92d352c0.tar.gz bugzilla-ba83e386e691db67bc497e5a91e741fd92d352c0.tar.bz2 bugzilla-ba83e386e691db67bc497e5a91e741fd92d352c0.zip |
let the docs still build if the directories don't exist yet.
-rw-r--r-- | docs/makedocs.pl | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/docs/makedocs.pl b/docs/makedocs.pl index d05b145e0..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 " . @@ -86,11 +100,8 @@ 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'); +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 Bugzilla-Guide.out'); |