Merge pull request #9 from dbkinder/master

doc: fix source file fetching and cleaning
This commit is contained in:
David Kinder 2018-03-06 17:12:34 -08:00 committed by GitHub
commit 0051306ff7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 8 deletions

View File

@ -31,7 +31,7 @@ doxy: pullsource
# Remove generated content (Sphinx and doxygen)
clean:
$(Q)rm -fr $(BUILDDIR) doxygen hypervisor devicemodel
$(Q)rm -fr $(BUILDDIR) doxygen _source
# Copy material over to the GitHub pages staging repo

View File

@ -3,16 +3,25 @@
# pull fresh copies of the ACRN source and copy public API headers
# over to the documentation tree
if [ ! -d "../acrn-hypervisor" ]; then
echo Repo for acrn-hypervisor is missing.
exit -1
fi
if [ ! -d "../acrn-devicemodel" ]; then
echo Repo for acrn-devicemodel is missing.
exit -1
fi
cd ../acrn-hypervisor;git pull
mkdir -p ../acrn_documentation/_source/hypervisor/include/common
cp include/common/hypercall.h ../acrn_documentation/_source/hypervisor/include/common
mkdir -p ../acrn-documentation/_source/hypervisor/include/common
cp include/common/hypercall.h ../acrn-documentation/_source/hypervisor/include/common
mkdir -p ../acrn_documentation/_source/hypervisor/include/public
cp include/public/acrn_common.h ../acrn_documentation/_source/hypervisor/include/public
cp include/public/acrn_hv_defs.h ../acrn_documentation/_source/hypervisor/include/public
mkdir -p ../acrn-documentation/_source/hypervisor/include/public
cp include/public/acrn_common.h ../acrn-documentation/_source/hypervisor/include/public
cp include/public/acrn_hv_defs.h ../acrn-documentation/_source/hypervisor/include/public
cd ../acrn-devicemodel;git pull
mkdir -p ../acrn_documentation/_source/devicemodel/include
cp include/virtio.h ../acrn_documentation/_source/devicemodel/include
mkdir -p ../acrn-documentation/_source/devicemodel/include
cp include/virtio.h ../acrn-documentation/_source/devicemodel/include