build: include IDEAS.org, mu4e command

Include the IDEAS.org with installed data; add a command mu4e-ideas.
This commit is contained in:
Dirk-Jan C. Binnema
2025-01-15 19:24:32 +02:00
parent e2cd37eaf5
commit 74108100d6
3 changed files with 11 additions and 4 deletions

View File

@ -1,4 +1,4 @@
## Copyright (C) 2022-2024 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl> ## Copyright (C) 2022-2025 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
## ##
## This program is free software; you can redistribute it and/or modify ## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by ## it under the terms of the GNU General Public License as published by
@ -282,7 +282,8 @@ configure_file(input: join_paths(build_aux, 'version.texi.in'),
################################################################################ ################################################################################
# install some data files # install some data files
install_data('NEWS.org', install_dir : join_paths(datadir,'doc', 'mu')) install_data('NEWS.org', 'IDEAS.org',
install_dir : join_paths(datadir, 'doc', 'mu'))
################################################################################ ################################################################################
# subdirs # subdirs

View File

@ -1,4 +1,4 @@
## Copyright (C) 2022-2024 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl> ## Copyright (C) 2022-2025 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
## ##
## This program is free software; you can redistribute it and/or modify ## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by ## it under the terms of the GNU General Public License as published by
@ -88,6 +88,7 @@ foreach src : mu4e_srcs
# see: https://debbugs.gnu.org/db/47/47987.html # see: https://debbugs.gnu.org/db/47/47987.html
configure_file(input: src, output:'@BASENAME@.el', copy:true, configure_file(input: src, output:'@BASENAME@.el', copy:true,
install_mode: 'r--r--r--') install_mode: 'r--r--r--')
# seems meson ignores 'install_mode' for copy (1.5.1, 1.6.1)
custom_target(src.underscorify() + '_el', custom_target(src.underscorify() + '_el',
build_by_default: true, build_by_default: true,

View File

@ -89,10 +89,15 @@ the personal addresses."
(mu4e-info (mu4e-join-paths mu4e-doc-dir "mu4e-about.org"))) (mu4e-info (mu4e-join-paths mu4e-doc-dir "mu4e-about.org")))
(defun mu4e-news () (defun mu4e-news ()
"Show page with news for the current version of mu4e." "Show news for the current version of mu and mu4e."
(interactive) (interactive)
(mu4e-info (mu4e-join-paths mu4e-doc-dir "NEWS.org"))) (mu4e-info (mu4e-join-paths mu4e-doc-dir "NEWS.org")))
(defun mu4e-ideas ()
"Show development ideas for mu and mu4e."
(interactive)
(mu4e-info (mu4e-join-paths mu4e-doc-dir "IDEAS.org")))
(defun mu4e-baseline-time () (defun mu4e-baseline-time ()
"Show the baseline time." "Show the baseline time."
(interactive) (interactive)