Don't try to mv a directory before calling make to create it 74/2774/2
authorEd Warnicke <eaw@cisco.com>
Fri, 9 Sep 2016 20:05:11 +0000 (13:05 -0700)
committerEd Warnicke <eaw@cisco.com>
Fri, 9 Sep 2016 20:07:54 +0000 (13:07 -0700)
Change-Id: Ic8333a26416933cdd62713a7a285bc03433d0dca
Signed-off-by: Ed Warnicke <eaw@cisco.com>
jjb/vpp/include-raw-vpp-docs.sh

index def26bc..ce38ef1 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/bash
 set -xe -o pipefail
-[ "$DOCS_REPO_URL" ] || DOCS_REPO_URL="https://nexus.fd.io/service/local/repositories/site"
+[ "$DOCS_REPO_URL" ] || DOCS_REPO_URL="https://nexus.fd.io/content/sites/site"
 [ "$PROJECT_PATH" ] || PROJECT_PATH=io/fd/vpp
 [ "$DOC_FILE" ] || DOC_FILE=vpp.docs.zip
 [ "$DOC_DIR" ] || DOC_DIR=build-root/docs/html
@@ -17,10 +17,9 @@ else
   exit
 fi
 
+make doxygen
 mkdir -p $(dirname ${RESOURCES_DIR})
 mv -f ${DOC_DIR} ${RESOURCES_DIR}
-
-make doxygen
 cd ${SITE_DIR}
 cat > pom.xml << EOF
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">