* yet more dir-less .cache DEP updates
[t2sde.git] / package / scientific / emacs-matlab-mode / emacs-matlab-mode.conf
blob566306b714ebab6340c2b74978dab99eb3a3ca6b
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/emacs-matlab-mode/emacs-matlab-mode.conf
3 # Copyright (C) 2004 - 2023 The T2 SDE Project
4
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License version 2.
10 # --- T2-COPYRIGHT-NOTE-END ---
12 autoextract=0
13 makeopt= makeinstopt=
15 matlab_mode_main() {
16         pkginstalled emacs && cp -v `match_source_file -p 'matlab-.*el'` $root/usr/share/emacs/site-lisp/matlab.el
17         pkginstalled xemacs && cp -v `match_source_file -p 'matalb-.*el'` $root/usr/lib/xemacs/site-lisp/matlab.el
19         #FIXME precompile
21 hook_add postmake 5 "matlab_mode_main"