summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2025-01-15 19:24:32 +0200
committerDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2025-01-15 19:24:32 +0200
commit74108100d69a386cef78f649dc637cebc8610ba7 (patch)
tree7c6c21278be880759319807858ac344c81b28d57
parente2cd37eaf55913e055071d7cf15bbdeddb5d27e4 (diff)
build: include IDEAS.org, mu4e command
Include the IDEAS.org with installed data; add a command mu4e-ideas.
-rw-r--r--meson.build5
-rw-r--r--mu4e/meson.build3
-rw-r--r--mu4e/mu4e-main.el7
3 files changed, 11 insertions, 4 deletions
diff --git a/meson.build b/meson.build
index e170584..e8cebe9 100644
--- a/meson.build
+++ b/meson.build
@@ -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
## 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_data('NEWS.org', install_dir : join_paths(datadir,'doc', 'mu'))
+install_data('NEWS.org', 'IDEAS.org',
+ install_dir : join_paths(datadir, 'doc', 'mu'))
################################################################################
# subdirs
diff --git a/mu4e/meson.build b/mu4e/meson.build
index 664946a..da3e2da 100644
--- a/mu4e/meson.build
+++ b/mu4e/meson.build
@@ -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
## 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
configure_file(input: src, output:'@BASENAME@.el', copy:true,
install_mode: 'r--r--r--')
+ # seems meson ignores 'install_mode' for copy (1.5.1, 1.6.1)
custom_target(src.underscorify() + '_el',
build_by_default: true,
diff --git a/mu4e/mu4e-main.el b/mu4e/mu4e-main.el
index a4c8794..5a04cc7 100644
--- a/mu4e/mu4e-main.el
+++ b/mu4e/mu4e-main.el
@@ -89,10 +89,15 @@ the personal addresses."
(mu4e-info (mu4e-join-paths mu4e-doc-dir "mu4e-about.org")))
(defun mu4e-news ()
- "Show page with news for the current version of mu4e."
+ "Show news for the current version of mu and mu4e."
(interactive)
(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 ()
"Show the baseline time."
(interactive)