]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
Propagate correct version to doxygen template 152/head
authorPetr Menšík <pemensik@redhat.com>
Wed, 9 Feb 2022 17:26:24 +0000 (18:26 +0100)
committerPetr Menšík <pemensik@redhat.com>
Wed, 9 Feb 2022 17:36:52 +0000 (18:36 +0100)
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
libdns.doxygen.in [moved from libdns.doxygen with 99% similarity]

index f36ffe775a0ba8924bb2e5b2ecc31a5eb81dc2b5..fb75a104e99a258f400f795b4f788962e41001c5 100644 (file)
@@ -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])
 
similarity index 99%
rename from libdns.doxygen
rename to libdns.doxygen.in
index 521b54d1d8a3340921d0e30d0e6c6c370f7913b0..c83cdf4c219117ff0f8ff2cac6d78cc884dc322f 100644 (file)
@@ -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