mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-04-29 04:04:05 +00:00
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>
21 lines
413 B
Bash
Executable File
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
|