00001 /*! 00002 * @file ./doxpatch.sh 00003 * 00004 * @brief Install CSS patch in HTML documentation that supports 00005 * NetScape 4.7x HTML browser. 00006 * 00007 * A patch is needed to work around the cascading style sheet issue in 00008 * 00009 * <pre class="fragment"^gt; 00010 * 00011 * directives in Doxygen HTML output so that old NetScape 4.7x browsers 00012 * do not parse this to eliminate newline characters in @b @@verbatim 00013 * blocks, @b <code> blocks, etc. 00014 * 00015 * This only is effective if @b CONFIG_BUILD_HTML_ADJUST_NETSCAPE47X 00016 * was configured by @link ./config.sh config.sh@endlink. Otherwise 00017 * it is meaningless and the request is silently ignored. 00018 * 00019 * When configured, the cascading style sheet @c @b doc/html/doxygen.css 00020 * has two copies made when @link ./dox.sh dox.sh@endlink is run. 00021 * A symbolic link by the original name points to the patched copy 00022 * originally. @link ./doxunpatch.sh doxunpatch@endlink can use it 00023 * to revert back to the unpatched copy. This script moves the symbolic 00024 * link to the patched copy that suppresses processing that causes 00025 * the problem. 00026 * 00027 * @see doxunpatch.sh 00028 * 00029 * @todo A Windows .BAT version of this script needs to be written 00030 * 00031 * 00032 * @section Control 00033 * 00034 * \$URL: https://svn.apache.org/path/name/doxpatch.sh $ \$Id: doxpatch.sh 0 09/28/2005 dlydick $ 00035 * 00036 * Copyright 2005 The Apache Software Foundation 00037 * or its licensors, as applicable. 00038 * 00039 * Licensed under the Apache License, Version 2.0 ("the License"); 00040 * you may not use this file except in compliance with the License. 00041 * You may obtain a copy of the License at 00042 * 00043 * http://www.apache.org/licenses/LICENSE-2.0 00044 * 00045 * Unless required by applicable law or agreed to in writing, 00046 * software distributed under the License is distributed on an 00047 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 00048 * either express or implied. 00049 * 00050 * See the License for the specific language governing permissions 00051 * and limitations under the License. 00052 * 00053 * @version \$LastChangedRevision: 0 $ 00054 * 00055 * @date \$LastChangedDate: 09/28/2005 $ 00056 * 00057 * @author \$LastChangedBy: dlydick $ 00058 * Original code contributed by Daniel Lydick on 09/28/2005. 00059 * 00060 * @section Reference 00061 * 00062 */ /* 00063 * (Use #! and #/ with dox_filter.sh to fool Doxygen into 00064 * parsing this non-source text file for the documentation set. 00065 * Use the above open comment to force termination of parsing 00066 * since it is not a Doxygen-style 'C' comment.) 00067 * 00068 * 00069 *####################################################################### 00070 * 00071 * Script setup 00072 * 00073 *####################################################################### 00074 * 00075 * Check if configured and move symbolic link if so. 00076 * 00077 *####################################################################### 00078 * 00079 * EOF 00080