From a3c12f997ea1c63c3b07807b5d112835167b2ad6 Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Sat, 14 Jan 2017 18:53:01 +0100 Subject: [PATCH] doc: doxygen: set the project version from Makefile Drop the PROJECT_NUMBER option from the Doxyfile and pass the version to doxygen via command-line when invoking it from Makefile. Signed-off-by: Bartosz Golaszewski --- Doxyfile | 1 - Makefile.am | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Doxyfile b/Doxyfile index 5e61d89..d5a69ea 100644 --- a/Doxyfile +++ b/Doxyfile @@ -10,7 +10,6 @@ # General configuration PROJECT_NAME = libgpiod -PROJECT_NUMBER = ALPHA OUTPUT_DIRECTORY = doc OUTPUT_LANGUAGE = English EXTRACT_ALL = NO diff --git a/Makefile.am b/Makefile.am index 9e734fc..fa2c23a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -50,5 +50,5 @@ gpiofind_DEPENDENCIES = libgpiod.la endif doc: - doxygen + @(cat Doxyfile; echo PROJECT_NUMBER = $(PACKAGE_VERSION)) | doxygen - .PHONY: doc -- 2.30.2