[Saegewerk-commits] r6 - trunk
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Jun 26 16:16:19 CEST 2008
Author: khruskowski
Date: 2008-06-26 16:16:19 +0200 (Thu, 26 Jun 2008)
New Revision: 6
Modified:
trunk/Makefile
trunk/generate_site.py
Log:
minor changes
Modified: trunk/Makefile
===================================================================
--- trunk/Makefile 2008-06-26 08:59:29 UTC (rev 5)
+++ trunk/Makefile 2008-06-26 14:16:19 UTC (rev 6)
@@ -1,7 +1,6 @@
HTDOCS_DIR=htdocs/
TEMPLATE_DIR=template/
-REPORTS_DIR=reports/
ONLINE_REPOS=fnord at saegewerk.wald.intevation.de
ONLINE_HTDOCS=/saegewerk/htdocs/
Modified: trunk/generate_site.py
===================================================================
--- trunk/generate_site.py 2008-06-26 08:59:29 UTC (rev 5)
+++ trunk/generate_site.py 2008-06-26 14:16:19 UTC (rev 6)
@@ -2,7 +2,7 @@
# Copyright (C) 2008 by Intevation GmbH
# Authors:
-# Karl-Heinz Ruskowski <khruskowski at intevation.de>
+# Karl-Heinz Ruskowski <khruskowski at intevation.de>
#
# This program is free software under the GPL (>=v2)
# Read the file COPYING coming with the software for details.
@@ -60,7 +60,7 @@
site_frame_template_namespace = { 'TITLE': report_parser.get_title(),
'STYLE_TAG': report_css,
'SITE_CONTENT': str(report_content_template),
- 'SOURCE_PATH': '../' }
+ 'SOURCE_PATH': '/' }
site_frame_template.searchList()[0] = site_frame_template_namespace
@@ -69,7 +69,7 @@
buildlog_file_h.close()
print report_parser.get_title()
- if report.find('index.html') > -1:
+ if report.find('index.html') > -1:
projects.append({'title': report_parser.get_title(),\
'src': report.replace(HTDOCS_DIR, '')})
@@ -104,5 +104,5 @@
# Copy a single file
shutil.copy(file, HTDOCS_DIR)
-if __name__ == '__main__':
+if __name__ == '__main__':
main()
More information about the Saegewerk-commits
mailing list