From: Bartosz Golaszewski Date: Sat, 14 Jan 2017 17:53:01 +0000 (+0100) Subject: doc: doxygen: set the project version from Makefile X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=a3c12f997ea1c63c3b07807b5d112835167b2ad6;p=qemu-gpiodev%2Flibgpiod.git 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 --- 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