From df9a16bada2fe3618ff4c21b9bc56ffcfe4e4fa4 Mon Sep 17 00:00:00 2001
From: g0dil <g0dil@wiback.org>
Date: Tue, 8 Apr 2008 09:19:43 +0000
Subject: [PATCH] doclib: Fix search.php build command

---
 doclib/SConscript | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doclib/SConscript b/doclib/SConscript
index 9cb4bacbc..3d415b596 100644
--- a/doclib/SConscript
+++ b/doclib/SConscript
@@ -321,7 +321,7 @@ env.Command('doxy-footer.html', Value(footer), writeTemplate)
 env.Alias('all_docs',
           env.Command('search.php', [ Value(search_php), 'html-munge.xsl' ],
                       [ 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"
                             +   r" -e 's/\[\[/<?/g' -e 's/\]\]/?>/g'"
                             +   r" -e 's/\$$projectname/Overview/g'"
-- 
GitLab