acrn-hypervisor/doc/scripts/pullsource.sh
David B. Kinder 0e317d56bf doc: clean up PDF generation for ACRN docs
PRs #5945 and #5949 introduced fixes to the doc building process to
support PDF generation of the documentation set.  This PR refines the
doc build process, cleaning up the Makefile, adding display of tool
version information, and updates the doc building documentation to
include additional dependencies needed for building the PDF and
instructions for how to build the PDF.  The latexpdf make target is
provided to just run the latex and PDF producing process that depends on
the HTML artifacts from a make html run.  A new make pdf target is
provided that combines the two steps into one.

A new know-issues pattern file is added that verifies the expected
output from the latexpdf process is returned, as it can't be completely
eliminated without losing potential error messages that need to be
resolved.

Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
2021-04-26 19:50:44 -07:00

21 lines
413 B
Bash
Executable File

#!/bin/bash
# Copyright (C) 2019 Intel Corporation.
# SPDX-License-Identifier: BSD-3-Clause
#q="--quiet"
q=""
# get the latest acrn-kernel sources for the kernel-doc API processing
if [ ! -d "../../acrn-kernel" ]; then
echo Repo for acrn-kernel is missing.
exit -1
fi
# Assumes origin is the upstream repo
cd ../../acrn-kernel
git checkout $q master
git fetch $q origin
git reset $q --hard origin/master