X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=doclib%2FSConscript;h=61b7eba64372d5701bfa4a9aa5c390a4e89ec59b;hb=3b44557da0af28f1e0e3b8c0e0fb03de6b0d18c7;hp=5ade4e5fc8f4d45ac8888e92106c700b4ba15290;hpb=a358b3d4a24bfe1058cb79cf3e80d9a88e23b10f;p=senf.git
diff --git a/doclib/SConscript b/doclib/SConscript
index 5ade4e5..61b7eba 100644
--- a/doclib/SConscript
+++ b/doclib/SConscript
@@ -69,6 +69,7 @@ div.tabs ul li.$projectname a { background-color: #EDE497; }
SVN ChangeLog
SENF @ BerliOS
Wiki
+ Home
${TITLE}
@@ -111,23 +112,23 @@ function paths() {
}
?>"""
-env.Command('doxy-header.html', None, writeTemplate,
+env.Command('doxy-header.html', 'SConscript', writeTemplate,
TEMPLATE = Literal(HEADER),
TITLE = "Documentation and API reference")
-env.Command('doxy-header-overview.html', None, writeTemplate,
+env.Command('doxy-header-overview.html', 'SConscript', writeTemplate,
TEMPLATE = Literal(HEADER+OVERVIEW_EXTRA_HEADER),
TITLE = "Introduction and Overview")
-env.Command('doxy-footer.html', None, writeTemplate,
+env.Command('doxy-footer.html', 'SConscript', writeTemplate,
TEMPLATE = Literal(FOOTER))
env.Alias('all_docs',
- env.Command('search.php', 'html-munge.xsl',
+ env.Command('search.php', [ 'html-munge.xsl', 'SConscript' ],
[ writeTemplate,
'xsltproc --nonet --html --stringparam topdir .. -o - $SOURCE $TARGET 2>/dev/null'
+ "| sed"
+ r" -e 's/\[\[//g' -e 's/\]\]/?>/g'"
+ r" -e 's/\$$projectname/Overview/g'"
+ r" -e 's/\$$title/Search results/g'"
- + "> ${TARGET}.tmp",
+ + "> ${TARGETS[0]}.tmp",
'mv ${TARGET}.tmp ${TARGET}' ],
TEMPLATE = Literal(HEADER
+ OVERVIEW_EXTRA_HEADER
@@ -135,5 +136,5 @@ env.Alias('all_docs',
+ FOOTER),
TITLE = "Search results"))
env.Alias('all_docs',
- env.Command('search_paths.php', None, writeTemplate,
+ env.Command('search_paths.php', 'SConscript', writeTemplate,
TEMPLATE = Literal(SEARCH_PATHS_PHP)))