From 8f279b7f089028f0ef06e65b23fe5b8612472e11 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Petr=20Men=C5=A1=C3=ADk?= Date: Wed, 9 Feb 2022 18:26:24 +0100 Subject: [PATCH] Propagate correct version to doxygen template Do not require manual changes to libdns.doxygen. Release version got outdated during recent ldns releases. Configure it with correct version without extra work needed. --- configure.ac | 2 +- libdns.doxygen => libdns.doxygen.in | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename libdns.doxygen => libdns.doxygen.in (99%) diff --git a/configure.ac b/configure.ac index f36ffe77..fb75a104 100644 --- a/configure.ac +++ b/configure.ac @@ -1176,7 +1176,7 @@ else AC_SUBST(ldns_build_config_have_attr_unused, 0) fi -CONFIG_FILES="Makefile ldns/common.h ldns/net.h ldns/util.h packaging/libldns.pc packaging/ldns-config" +CONFIG_FILES="Makefile libdns.doxygen ldns/common.h ldns/net.h ldns/util.h packaging/libldns.pc packaging/ldns-config" AC_SUBST(CONFIG_FILES) AC_CONFIG_FILES([$CONFIG_FILES]) diff --git a/libdns.doxygen b/libdns.doxygen.in similarity index 99% rename from libdns.doxygen rename to libdns.doxygen.in index 521b54d1..c83cdf4c 100644 --- a/libdns.doxygen +++ b/libdns.doxygen.in @@ -32,13 +32,13 @@ DOXYFILE_ENCODING = UTF-8 # title of most generated pages and in a few other places. # The default value is: My Project. -PROJECT_NAME = ldns +PROJECT_NAME = @PACKAGE_NAME@ # The PROJECT_NUMBER tag can be used to enter a project or revision number. This # could be handy for archiving the generated documentation or if some version # control system is used. -PROJECT_NUMBER = 1.7.0 +PROJECT_NUMBER = @PACKAGE_VERSION@ # Using the PROJECT_BRIEF tag one can provide an optional one line description # for a project that appears at the top of each page and should give viewer a -- 2.47.3