]> granicus.if.org Git - icu/commitdiff
ICU-8828 turn off searchengine by default
authorSteven R. Loomis <srl@icu-project.org>
Thu, 15 Sep 2011 21:49:17 +0000 (21:49 +0000)
committerSteven R. Loomis <srl@icu-project.org>
Thu, 15 Sep 2011 21:49:17 +0000 (21:49 +0000)
X-SVN-Rev: 30670

icu4c/source/Doxyfile.in
icu4c/source/Makefile.in

index 771b99391ff7fec51acafd8c45d03a92eea16d8f..9600f8f5b044064963e190bcfa4bb68c44a89337 100644 (file)
@@ -1,7 +1,7 @@
 # Doxyfile 1.3.7
 #  ********************************************************************
 #  * COPYRIGHT:
-#  * Copyright (c) 2004-2010, International Business Machines Corporation
+#  * Copyright (c) 2004-2011, International Business Machines Corporation
 #  * and others. All Rights Reserved.
 #  ********************************************************************
 
@@ -230,4 +230,4 @@ DOT_CLEANUP            = YES
 #---------------------------------------------------------------------------
 # Configuration::additions related to the search engine   
 #---------------------------------------------------------------------------
-SEARCHENGINE           = YES
+SEARCHENGINE           = NO
index fa94c48449cd5d76c88db1f6e7215cc76d954fb9..8be914ccc76fc102a7ddce7393fc28aa54bb7cee 100644 (file)
@@ -1,6 +1,6 @@
 #******************************************************************************
 #
-#   Copyright (C) 1998-2010, International Business Machines
+#   Copyright (C) 1998-2011, International Business Machines
 #   Corporation and others.  All Rights Reserved.
 #
 #******************************************************************************
@@ -91,12 +91,16 @@ xperf-recursive: all tests
        @$(MAKE) -C test/perf xperf
 
 ifeq ($(DOXYGEN),)
-doc:
+doc doc-searchengine:
        @echo you need Doxygen to generate documentation. Doxygen can be found on the Web
        @echo at http://www.doxygen.org/
 else
 doc: doc/html/index.html
 
+doc-searchengine: Doxyfile $(wildcard ./common/unicode/platform.h $(srcdir)/common/unicode/*.h $(srcdir)/i18n/unicode/*.h $(srcdir)/layout/unicode/*.h $(srcdir)/io/unicode/*.h)
+       sed < Doxyfile -e 's%[^#]*SEARCHENGINE.*%SEARCHENGINE=YES%' | $(DOXYGEN) -
+       @echo Docs created - WARNING, probably contains non-GPL .js files
+
 doc/html/index.html: Doxyfile $(wildcard ./common/unicode/platform.h $(srcdir)/common/unicode/*.h $(srcdir)/i18n/unicode/*.h $(srcdir)/layout/unicode/*.h $(srcdir)/io/unicode/*.h)
        $(DOXYGEN)