From 46f8ab1be83a9ed0f8d414c9982934d77703172f Mon Sep 17 00:00:00 2001
From: Renaud Le Gac <legac@cppm.in2p3.fr>
Date: Thu, 4 Apr 2013 13:02:27 +0200
Subject: [PATCH] Add the creation of the docs directory in buildversion.py.

---
 buildVersion.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/buildVersion.py b/buildVersion.py
index 27d0ba14..21c1bc3e 100755
--- a/buildVersion.py
+++ b/buildVersion.py
@@ -76,6 +76,10 @@ def epydoc():
     The HTML files are located in static/plugin_dbui/docs/
     
     """
+    # create the directory
+    if not os.path.exists(HTMLDOC):
+        os.makedirs(HTMLDOC)
+        
     # clean the directory
     for el in os.listdir(HTMLDOC):
         os.remove(os.path.join(HTMLDOC, el))
-- 
GitLab