Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dirkmueller:Factory
tidy
fix_doxygen_paths.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix_doxygen_paths.diff of Package tidy
Index: tidy-html5-5.4.0/tidy-html5-doxygen/build_docs.sh =================================================================== --- tidy-html5-5.4.0.orig/tidy-html5-doxygen/build_docs.sh +++ tidy-html5-5.4.0/tidy-html5-doxygen/build_docs.sh @@ -18,16 +18,16 @@ ########################################################### SCRIPT=$(basename $0) -PATH_TIDY_HTML5="../../tidy-html5" +PATH_TIDY_HTML5="../tidy-html5-doxygen" -TIDY_PATH="$PATH_TIDY_HTML5/build/cmake/tidy" -OUTP_DIR="./output" +TIDY_PATH="$PATH_TIDY_HTML5/../build/tidy" +OUTP_DIR="./docs" -DOXY_CFG="./doxygen.cfg" +DOXY_CFG="$PATH_TIDY_HTML5/doxygen.cfg" -PATH_SRC="$PATH_TIDY_HTML5/src" -PATH_INC="$PATH_TIDY_HTML5/include" -PATH_CONSOLE="$PATH_TIDY_HTML5/console/tidy.c" +PATH_SRC="$PATH_TIDY_HTML5/../src" +PATH_INC="$PATH_TIDY_HTML5/../include" +PATH_CONSOLE="$PATH_TIDY_HTML5/../console/tidy.c" ########################################################### @@ -129,8 +129,8 @@ TIDY_VERSION="$(echo $TIDY_VERSION_STRIN ########################################################### # Additional variables needed by the configuration: ########################################################### -PATH_QUICKREF="quickref_$TIDY_VERSION.html" -PATH_WEBSITE="tidylib_api_$TIDY_VERSION" +PATH_QUICKREF="quickref.html" +PATH_WEBSITE="api" PATH_QUICKREF_INCLUDE="$OUTP_DIR/quickref_include.html" @@ -140,8 +140,7 @@ PATH_QUICKREF_INCLUDE="$OUTP_DIR/quickre cat << HEREDOC The script is generating the versioned 'quickref.html' file and the Tidy API - reference website for Tidy $TIDY_VERSION_STRING, - which is located at $TIDY_PATH. + reference website for Tidy, which is located at $TIDY_PATH. The following files/directories will be placed into $OUTP_DIR/: @@ -173,11 +172,11 @@ $TIDY_PATH -xml-config > "$OUTP_DIR/tidy # 'quickref.html' # 'quickref_include.html' for the Doxygen build -xsltproc "./quickref.xsl" "$OUTP_DIR/tidy-config.xml" > "$OUTP_DIR/$PATH_QUICKREF" -xsltproc "./quickref.include.xsl" "$OUTP_DIR/tidy-config.xml" > "$PATH_QUICKREF_INCLUDE" +xsltproc "$PATH_TIDY_HTML5/quickref.xsl" "$OUTP_DIR/tidy-config.xml" > "$OUTP_DIR/$PATH_QUICKREF" +xsltproc "$PATH_TIDY_HTML5/quickref.include.xsl" "$OUTP_DIR/tidy-config.xml" > "$PATH_QUICKREF_INCLUDE" # Tidy quickref.html -$TIDY_PATH -quiet -config "./tidy-quickref.cfg" -modify "$OUTP_DIR/$PATH_QUICKREF" >& /dev/null +$TIDY_PATH -quiet -config "$PATH_TIDY_HTML5/tidy-quickref.cfg" -modify "$OUTP_DIR/$PATH_QUICKREF" >& /dev/null # Cleanup rm "$OUTP_DIR/tidy-config.xml" @@ -198,14 +197,18 @@ echo "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- # - overwrites some vars but appending some to config at end # - which are then passed to doxygen as stdin (instead of the path to a config.file) ( cat "$DOXY_CFG"; \ - echo "INPUT=\"$PATH_INC\" \"$PATH_SRC\" \"$PATH_CONSOLE\" \"./\" \"./pages/\" \"./pages/general\" \"./pages/libtidy\" \"./pages/programming\"" + echo "INPUT=\"$PATH_INC\" \"$PATH_SRC\" \"$PATH_CONSOLE\" \"$PATH_TIDY_HTML5\" \"$PATH_TIDY_HTML5/pages/\" \"$PATH_TIDY_HTML5/pages/general\" \"$PATH_TIDY_HTML5/pages/libtidy\" \"$PATH_TIDY_HTML5/pages/programming\""; + echo "HTML_EXTRA_STYLESHEET=\"$PATH_TIDY_HTML5/style.css\"" + echo "LAYOUT_FILE=\"$PATH_TIDY_HTML5/DoxygenLayout.xml\"" + echo "EXAMPLE_PATH=\"$PATH_TIDY_HTML5/examples/\"" echo "INCLUDE_PATH=\"$PATH_SRC\"" echo "OUTPUT_DIRECTORY=\"$OUTP_DIR\"" echo "EXAMPLE_PATH=\"$OUTP_DIR\"" echo "PROJECT_NUMBER=$TIDY_VERSION" echo "HTML_OUTPUT=\"$PATH_WEBSITE\"" - echo "HTML_EXTRA_FILES= sun_blast.svg"; ) \ -| doxygen - > /dev/null + echo "HTML_TIMESTAMP=NO" + echo "HTML_EXTRA_FILES=\"$PATH_TIDY_HTML5/sun_blast.svg\""; ) \ +| doxygen - # cleanup rm "$PATH_QUICKREF_INCLUDE"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor