el-get/recipes/cedet.rcp
David Holm 3bfd7fcfdb Do not attempt to load CEDET if eieio has been loaded
CEDET will generate an error if it is loaded after the eieio version that is
shipped with Emacs has been loaded.  During bootstrapping this will continuously
cause my Emacs to stop installing packages and forcing me to restart it.

This change will ensure that Emacs can be fully bootstrapped using el-get even
if the updated version of CEDET is installed.  The new version will simply be
loaded on the next launch.
2014-01-22 18:15:14 +01:00

31 lines
1.6 KiB
Plaintext

(:name cedet
: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 bzr
:url "bzr://cedet.bzr.sourceforge.net/bzrroot/cedet/code/trunk"
: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 ("echo #!/bin/sh > tmp.sh & echo touch `/usr/bin/find . -name Makefile` >> tmp.sh & echo make FIND=/usr/bin/find >> tmp.sh"
"sed 's/^M$//' tmp.sh > tmp2.sh"
"sh ./tmp2.sh" "rm ./tmp.sh ./tmp2.sh")
: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
(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))))