]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
doc: Get man page assets from version dependant location
authorAki Tuomi <aki.tuomi@open-xchange.com>
Tue, 25 Jun 2024 08:17:10 +0000 (11:17 +0300)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Wed, 26 Jun 2024 16:25:05 +0000 (16:25 +0000)
configure.ac
doc/Makefile.am
doc/man/doveadm-backup.1 [deleted file]
doc/man/doveadm-copy.1 [deleted file]

index 7906b89a73a22ee79be024c8bdab9c882f89810b..ba6e1bd5cfb31a77731dc3322c070214b0865b89 100644 (file)
@@ -268,6 +268,9 @@ AC_DEFINE([DOVECOT_VERSION_MAJOR], regexp(AC_PACKAGE_VERSION, [^\([0-9]+\)\.\([0
 AC_DEFINE([DOVECOT_VERSION_MINOR], regexp(AC_PACKAGE_VERSION, [^\([0-9]+\)\.\([0-9]+\)], [\2]), [Dovecot minor version])
 AC_DEFINE([DOVECOT_VERSION_MICRO], regexp(AC_PACKAGE_VERSION, [^\([0-9]+\)\.\([0-9]+\).\([0-9]+\)], [\3]), [Dovecot micro version])
 
+DOVECOT_ASSET_VERSION=regexp(AC_PACKAGE_VERSION, [^\([0-9]+\)\.\([0-9]+\)], [\1.\2])
+AC_SUBST(DOVECOT_ASSET_VERSION)
+
 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
 ],[
 #if DOVECOT_VERSION_MICRO > 0
index e99f5cf72d301f403962c3e307cacc99320ede17..aa6f9acd9b2f48cac45b2db854c104ed06707fc9 100644 (file)
@@ -12,8 +12,8 @@ docfiles = \
        solr-config-9.xml \
        solr-schema-9.xml
 
-DOCS_URL=https://doc.dovecot.org/assets/3.0/docs.txz
-MAN_URL=https://doc.dovecot.org/assets/3.0/man.txz
+DOCS_URL=https://doc.dovecot.org/assets/$(DOVECOT_ASSET_VERSION)/docs.txz
+MAN_URL=https://doc.dovecot.org/assets/$(DOVECOT_ASSET_VERSION)/core.txz
 
 AM_V_Q = $(am__v_Q_$(V))
 am__v_Q_ = $(am__v_Q_$(AM_DEFAULT_VERBOSITY))
diff --git a/doc/man/doveadm-backup.1 b/doc/man/doveadm-backup.1
deleted file mode 100644 (file)
index 106321c..0000000
+++ /dev/null
@@ -1 +0,0 @@
-.so man1/doveadm-sync.1
\ No newline at end of file
diff --git a/doc/man/doveadm-copy.1 b/doc/man/doveadm-copy.1
deleted file mode 100644 (file)
index 2880406..0000000
+++ /dev/null
@@ -1 +0,0 @@
-.so man1/doveadm-move.1