el-get/recipes/cedet.rcp
Noam Postavsky 767847f83d Don't try to build and install :builtin packages
* el-get-build.el (el-get-build-commands): Do nothing if package is
:builtin.
* recipes/cedet.rcp (:post-init): Don't load if it's :builtin.
2017-07-01 19:07:47 -04:00

32 lines
1.7 KiB
Plaintext

(:name cedet
:builtin "23.3"
:website "http://cedet.sourceforge.net/"
:description "CEDET is a Collection of Emacs Development Environment Tools written with the end goal of creating an advanced development environment in Emacs."
:type git
:url "http://git.code.sf.net/p/cedet/git"
:build
;; `((,el-get-emacs "-batch" "-Q" "-l" "cedet-build.el" "-f" "cedet-build"))
`(("sh" "-c" "touch `find . -name Makefile`")
("make" ,(format "EMACS=%s" (shell-quote-argument el-get-emacs)) "clean-all")
("make" ,(format "EMACS=%s" (shell-quote-argument el-get-emacs)))
("make" ,(format "EMACS=%s" (shell-quote-argument el-get-emacs)) "-C" "contrib"))
:build/berkeley-unix
`(("sh" "-c" "touch `find . -name Makefile`")
("gmake" ,(format "EMACS=%s" (shell-quote-argument el-get-emacs)) "clean-all")
("gmake" ,(format "EMACS=%s" (shell-quote-argument el-get-emacs)))
("gmake" ,(format "EMACS=%s" (shell-quote-argument el-get-emacs)) "-C" "contrib"))
:build/windows-nt
`(("sh" "-c" "touch `/usr/bin/find . -name Makefile` && make FIND=/usr/bin/find"))
:features nil
;; This package isn't really non-lazy, but we want to call the
;; post-init immediately, because it handles the lazy autoload
;; setup.
:lazy nil
:post-init
(unless (eq (el-get-package-method 'cedet) 'builtin)
(if (or (featurep 'cedet-devel-load)
(featurep 'eieio))
(message (concat "Emacs' built-in CEDET has already been loaded! Restart"
" Emacs to load CEDET from el-get instead."))
(load (expand-file-name "cedet-devel-load.el" pdir)))))