diff options
Diffstat (limited to 'gnu/packages/code.scm')
| -rw-r--r-- | gnu/packages/code.scm | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm index a50ac3506a5..f6aaa63853a 100644 --- a/gnu/packages/code.scm +++ b/gnu/packages/code.scm | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | ;;; Copyright © 2013, 2015, 2018 Ludovic Courtès <ludo@gnu.org> | 2 | ;;; Copyright © 2013, 2015, 2018 Ludovic Courtès <ludo@gnu.org> |
| 3 | ;;; Copyright © 2015 Andreas Enge <andreas@enge.fr> | 3 | ;;; Copyright © 2015 Andreas Enge <andreas@enge.fr> |
| 4 | ;;; Copyright © 2015, 2018 Ricardo Wurmus <rekado@elephly.net> | 4 | ;;; Copyright © 2015, 2018 Ricardo Wurmus <rekado@elephly.net> |
| 5 | ;;; Copyright © 2016, 2017, 2019 Efraim Flashner <efraim@flashner.co.il> | 5 | ;;; Copyright © 2016, 2017, 2019, 2020 Efraim Flashner <efraim@flashner.co.il> |
| 6 | ;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr> | 6 | ;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr> |
| 7 | ;;; Copyright © 2017, 2018 Clément Lassieur <clement@lassieur.org> | 7 | ;;; Copyright © 2017, 2018 Clément Lassieur <clement@lassieur.org> |
| 8 | ;;; Copyright © 2017 Andy Wingo <wingo@igalia.com> | 8 | ;;; Copyright © 2017 Andy Wingo <wingo@igalia.com> |
| @@ -146,12 +146,19 @@ highlighting your own code that seemed comprehensible when you wrote it.") | |||
| 146 | (modify-phases %standard-phases | 146 | (modify-phases %standard-phases |
| 147 | (add-after 'install 'post-install | 147 | (add-after 'install 'post-install |
| 148 | (lambda* (#:key outputs #:allow-other-keys) | 148 | (lambda* (#:key outputs #:allow-other-keys) |
| 149 | ;; Install the Emacs Lisp file in the right place. | 149 | ;; Install the plugin files in the right place. |
| 150 | (let* ((out (assoc-ref outputs "out")) | 150 | (let* ((out (assoc-ref outputs "out")) |
| 151 | (data (string-append out "/share/gtags")) | 151 | (data (string-append out "/share/gtags")) |
| 152 | (vim (string-append out "/share/vim/vimfiles/plugin")) | ||
| 152 | (lisp (string-append out "/share/emacs/site-lisp"))) | 153 | (lisp (string-append out "/share/emacs/site-lisp"))) |
| 153 | (install-file (string-append data "/gtags.el") lisp) | 154 | (mkdir-p lisp) |
| 154 | (delete-file (string-append data "/gtags.el")) | 155 | (mkdir-p vim) |
| 156 | (rename-file (string-append data "/gtags.el") | ||
| 157 | (string-append lisp "/gtags.el")) | ||
| 158 | (rename-file (string-append data "/gtags.vim") | ||
| 159 | (string-append vim "/gtags.vim")) | ||
| 160 | (rename-file (string-append data "/gtags-cscope.vim") | ||
| 161 | (string-append vim "/gtags-cscope.vim")) | ||
| 155 | #t)))))) | 162 | #t)))))) |
| 156 | (home-page "https://www.gnu.org/software/global/") | 163 | (home-page "https://www.gnu.org/software/global/") |
| 157 | (synopsis "Cross-environment source code tag system") | 164 | (synopsis "Cross-environment source code tag system") |
