From: Frank Ch. Eigler Date: Fri, 19 Jun 2015 13:59:29 +0000 (-0400) Subject: scripts/update-docs: reduce effort X-Git-Tag: release-2.9~213 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=6da3e45e74cd433dff8655668e814da29cb122f0;p=systemtap.git scripts/update-docs: reduce effort Do only a partial checkout and build only the docs, if possible. --- diff --git a/scripts/update-docs b/scripts/update-docs index 0753a5663..aafbc78ae 100755 --- a/scripts/update-docs +++ b/scripts/update-docs @@ -27,7 +27,7 @@ DIR=`mktemp -d stapdocsXXX -p /tmp/`; cd $DIR # We'll need to build the latest stap with docs, ensure a check that everything built properly or bail -git clone git://sourceware.org/git/systemtap.git +git clone --depth 1 git://sourceware.org/git/systemtap.git # Checkout the htdocs CVS @@ -40,10 +40,8 @@ mkdir build && mkdir local && cd build ../configure --enable-docs --prefix=$BASEDIR/systemtap/local -#Not sure if we're really allowed to make assumptions about the machine we're running this on -#Probably safer not using the -jX option -make -make install +make -C doc +make install-data if [ $? -eq 0 ]; then : else