From 6da3e45e74cd433dff8655668e814da29cb122f0 Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Fri, 19 Jun 2015 09:59:29 -0400 Subject: [PATCH] scripts/update-docs: reduce effort Do only a partial checkout and build only the docs, if possible. --- scripts/update-docs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 -- 2.43.5