mirror of
https://github.com/dimitri/el-get.git
synced 2024-09-29 13:08:51 +08:00
magit.rcp: use el-get's default compilation
We still use make for producing the info file. Since Windows users will probably not go through the trouble of installing make and makeinfo, disable that step in Windows. The magit-autoloads file is produced in the Makefile from ;;;###autoload cookies; since el-get extracts those and puts them into .loaddefs by default we don't need to (require 'magit-autoloads) anymore. Removed the ("touch" "`find . -name Makefile`") from :build/berkeley-unix since that would create a file literally called "`find . -name Makefile`", the `` would not be expanded as the shell is not being invoked. It was probably some leftover that's no longer needed.
This commit is contained in:
parent
7231790302
commit
0fada2e0e2
|
@ -5,9 +5,10 @@
|
|||
:pkgname "magit/magit"
|
||||
:depends (cl-lib git-modes)
|
||||
:info "."
|
||||
;; let el-get care about autoloads so that it works with all OSes
|
||||
:build (if (version<= "24.3" emacs-version)
|
||||
`(("make" ,(format "EMACS=%s" el-get-emacs) "all"))
|
||||
`(("make" ,(format "EMACS=%s" el-get-emacs) "docs")))
|
||||
:build/berkeley-unix (("touch" "`find . -name Makefile`") ("gmake"))
|
||||
:prepare (require 'magit-autoloads))
|
||||
;; use the Makefile to produce the info manual, el-get can
|
||||
;; handle compilation and autoloads on its own.
|
||||
:compile t
|
||||
:build `(("make" "docs"))
|
||||
:build/berkeley-unix (("gmake docs"))
|
||||
;; assume windows lacks make and makeinfo
|
||||
:build/windows-nt (progn nil))
|
||||
|
|
Loading…
Reference in New Issue
Block a user