mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-09-03 20:53:02 -05:00
Win32: Add flag UPDATE_DOCS to avoid running svn up for the docs each time.
Patch from Daniel Harding. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17119 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -58,6 +58,8 @@ if [ "$BUILD_FROM_TARBALL" = "yes" ]; then
|
||||
else
|
||||
# change this to "no" if you are using install.sh from the same repository checkout
|
||||
set_default UPDATE_SOURCES yes
|
||||
# latest revision that should compile, use HEAD or vwxyz
|
||||
set_default SVN_REV "HEAD"
|
||||
set_default GNUCASH_DIR $GLOBAL_DIR\\gnucash
|
||||
set_default REPOS_URL "http://svn.gnucash.org/repo/gnucash/trunk"
|
||||
set_default REPOS_DIR $GNUCASH_DIR\\repos
|
||||
@@ -261,6 +263,8 @@ set_default AQBANKING_WITH_QT yes
|
||||
# install it and set QTDIR in custom.sh, like "QTDIR=/c/Qt/4.2.3".
|
||||
|
||||
set_default DOCBOOK_XSL_URL "$SF_MIRROR/docbook/docbook-xsl-1.72.0.zip"
|
||||
set_default UPDATE_DOCS yes
|
||||
set_default DOCS_REV "HEAD"
|
||||
set_default DOCS_URL "http://svn.gnucash.org/repo/gnucash-docs/trunk"
|
||||
set_default DOCS_DIR $GLOBAL_DIR\\gnucash-docs
|
||||
set_default XSLTPROCFLAGS ""
|
||||
|
||||
@@ -932,8 +932,6 @@ function inst_aqbanking() {
|
||||
function svn_up() {
|
||||
mkdir -p $_REPOS_UDIR
|
||||
qpushd $REPOS_DIR
|
||||
# latest revision that should compile, use HEAD or vwxyz
|
||||
SVN_REV="HEAD"
|
||||
if [ -x .svn ]; then
|
||||
setup "svn update in ${REPOS_DIR}"
|
||||
svn up -r ${SVN_REV}
|
||||
@@ -1085,14 +1083,14 @@ function inst_docs() {
|
||||
fi
|
||||
mkdir -p $_DOCS_UDIR/repos
|
||||
qpushd $DOCS_DIR/repos
|
||||
# latest revision that should compile, use HEAD or vwxyz
|
||||
SVN_REV="HEAD"
|
||||
if [ -x .svn ]; then
|
||||
setup "SVN update of docs"
|
||||
svn up -r ${SVN_REV}
|
||||
else
|
||||
setup "SVN checkout of docs"
|
||||
svn co -r ${SVN_REV} $DOCS_URL .
|
||||
if [ "$UPDATE_DOCS" = "yes" ]; then
|
||||
if [ -x .svn ]; then
|
||||
setup "SVN update of docs"
|
||||
svn up -r ${DOCS_REV}
|
||||
else
|
||||
setup "SVN checkout of docs"
|
||||
svn co -r ${DOCS_REV} $DOCS_URL .
|
||||
fi
|
||||
fi
|
||||
setup docs
|
||||
_DOCS_INST_UDIR=`unix_path $INSTALL_DIR`/share/gnucash/help
|
||||
|
||||
Reference in New Issue
Block a user