mirror of https://github.com/djcb/mu.git
mu4e: generate mu4e-autoloads.el
This file can be used by package.el.
This commit is contained in:
parent
00f7053d51
commit
842027fadd
|
@ -83,6 +83,17 @@ foreach src : mu4e_srcs
|
|||
install_mode: 'r--r--r--')
|
||||
endforeach
|
||||
|
||||
# this depends on the above hack: all mu4e elisp files needs to be in builddir
|
||||
mu4e_autoloads = configure_file(
|
||||
output: 'mu4e-autoloads.el',
|
||||
install: true,
|
||||
install_dir: mu4e_lispdir,
|
||||
command: [emacs,
|
||||
'--no-init-file',
|
||||
'--batch',
|
||||
'--load', 'package',
|
||||
'--eval', '(package-generate-autoloads "mu4e" "' + meson.current_build_dir() + '" )'])
|
||||
|
||||
foreach src : mu4e_srcs
|
||||
target_name= '@BASENAME@.elc'
|
||||
target_path = join_paths(meson.current_build_dir(), target_name)
|
||||
|
|
Loading…
Reference in New Issue