commit:     bcca1643a8a6704b26e2bfb990c2e830f0006ff9
Author:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 19 04:05:23 2019 +0000
Commit:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
CommitDate: Thu Dec 19 20:57:56 2019 +0000
URL:        https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=bcca1643

rename search_index.py to build_search_documents.py, and move it to bin/

Executables go to bin/

Also, the name is misleading. The script does not build the search
index, it builds the documents for the search engine to create the
index.

Signed-off-by: Göktürk Yüksek <gokturk <AT> gentoo.org>

 Makefile                                         | 2 +-
 search_index.py => bin/build_search_documents.py | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 4e591ac..aa29c26 100644
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,7 @@ prereq:
 # updating it, we pass it the names of ALL prerequisites ($^) and not
 # just the names of the ones that are new ($?).
 documents.js: $(XMLS)
-       ./search_index.py $^ > _documents.js
+       ./bin/build_search_documents.py $^ > _documents.js
        mv _documents.js documents.js
 
 %.png : %.svg

diff --git a/search_index.py b/bin/build_search_documents.py
similarity index 100%
rename from search_index.py
rename to bin/build_search_documents.py

Reply via email to