git.y1.nz

gbdk-2020

GameBoy Development Kit
download: https://git.y1.nz/archives/gbdk.tar.gz
README | Files | Log | Refs | LICENSE

commit b4e565621a4657eda7252f1954b2ec63f58b4958
parent b774c3d6b5c2e3360987fe86a5516992b42b8974
Author: Toxa <56631470+untoxa@users.noreply.github.com>
Date:   Thu,  5 Nov 2020 23:14:18 +0300

Merge pull request #77 from bbbbbr/develop_docs_inmainrepo_tooling

Docs: Add doxygen version check to require at least 1.8.17 in order to ensure improved theme gets processed correctly
Diffstat:
MMakefile9+++++++++
1 file changed, 9 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile @@ -29,9 +29,15 @@ TARGETCXXFLAGS = GBDKLIBDIR = $(TOPDIR)/gbdk-lib # Directory containing the source to gbdk-support GBDKSUPPORTDIR = $(TOPDIR)/gbdk-support + # Directory with docs config and output (via doxygen) GBDKDOCSDIR = $(TOPDIR)/docs + +# Doxygen command and version check info DOXYGENCMD = doxygen +DOXYGEN_VER_REQ = 1.8.17 +DOXYGEN_VER_HAS = $(shell doxygen -v) + # Base setup # Extension to add to executables @@ -228,6 +234,9 @@ endif # That prevents it from including the path leading up to there in the # output, even though it's instructed to only process starting at "include". doxygen-generate: +ifeq ($(shell expr "$(DOXYGEN_VER_HAS)" \< "$(DOXYGEN_VER_REQ)"), 1) + $(error Doxygen version $(DOXYGEN_VER_HAS) is too old! Minimum version is $(DOXYGEN_VER_REQ)) +endif rm -rf $(GBDKDOCSDIR)/api; \ cd "$(GBDKLIBDIR)/include"; \ GBDKDOCSDIR="$(GBDKDOCSDIR)" GBDKLIBDIR="$(GBDKLIBDIR)" $(DOXYGENCMD) "$(GBDKDOCSDIR)/config/gbdk-2020-doxyfile"

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.