From: Ulrich Müller Date: Fri, 18 Oct 2019 18:05:15 +0000 (+0200) Subject: app-emacs/matlab: Generate autoload file. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a33ce22f1bea7ad557fcef3f676d00901a2e6d56;p=gentoo.git app-emacs/matlab: Generate autoload file. Closes: https://bugs.gentoo.org/698006 Package-Manager: Portage-2.3.77, Repoman-2.3.17 Signed-off-by: Ulrich Müller --- diff --git a/app-emacs/matlab/files/50matlab-gentoo-3.3.6.el b/app-emacs/matlab/files/50matlab-gentoo-3.3.6.el new file mode 100644 index 000000000000..499ac3d66b2a --- /dev/null +++ b/app-emacs/matlab/files/50matlab-gentoo-3.3.6.el @@ -0,0 +1,2 @@ +(add-to-list 'load-path "@SITELISP@") +(load "matlab-load" nil t) diff --git a/app-emacs/matlab/matlab-3.3.6_pre20191010.ebuild b/app-emacs/matlab/matlab-3.3.6_pre20191010-r1.ebuild similarity index 79% rename from app-emacs/matlab/matlab-3.3.6_pre20191010.ebuild rename to app-emacs/matlab/matlab-3.3.6_pre20191010-r1.ebuild index 42573b3e47ca..33487fa8e1bb 100644 --- a/app-emacs/matlab/matlab-3.3.6_pre20191010.ebuild +++ b/app-emacs/matlab/matlab-3.3.6_pre20191010-r1.ebuild @@ -14,5 +14,10 @@ SLOT="0" KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x86-macos" S="${WORKDIR}/matlab-emacs-src" -SITEFILE="50${PN}-gentoo.el" +SITEFILE="50${PN}-gentoo-3.3.6.el" DOCS="README.org INSTALL ChangeLog*" + +src_compile() { + elisp-compile *.el + elisp-make-autoload-file matlab-load.el +}