Skip to content
Snippets Groups Projects
Commit df9a16ba authored by g0dil's avatar g0dil
Browse files

doclib: Fix search.php build command

parent 0d2a5978
No related branches found
No related tags found
No related merge requests found
...@@ -321,7 +321,7 @@ env.Command('doxy-footer.html', Value(footer), writeTemplate) ...@@ -321,7 +321,7 @@ env.Command('doxy-footer.html', Value(footer), writeTemplate)
env.Alias('all_docs', env.Alias('all_docs',
env.Command('search.php', [ Value(search_php), 'html-munge.xsl' ], env.Command('search.php', [ Value(search_php), 'html-munge.xsl' ],
[ writeTemplate, [ writeTemplate,
'xsltproc --nonet --html --stringparam topdir .. -o - $SOURCE $TARGET 2>/dev/null' 'xsltproc --nonet --html --stringparam topdir .. -o - ${SOURCES[1]} $TARGET 2>/dev/null'
+ "| sed" + "| sed"
+ r" -e 's/\[\[/<?/g' -e 's/\]\]/?>/g'" + r" -e 's/\[\[/<?/g' -e 's/\]\]/?>/g'"
+ r" -e 's/\$$projectname/Overview/g'" + r" -e 's/\$$projectname/Overview/g'"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment