gnu: proof-general: Use INVOKE.

* gnu/packages/coq.scm (proof-general)[arguments]: Use INVOKE in build phases.
This commit is contained in:
Ricardo Wurmus 2019-01-25 09:24:41 +01:00
parent 8543ccf87b
commit a48d6acc23
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 9 additions and 10 deletions

View File

@ -157,15 +157,14 @@ It is developed using Objective Caml and Camlp5.")
(add-after 'unpack 'clean (add-after 'unpack 'clean
(lambda _ (lambda _
;; Delete the pre-compiled elc files for Emacs 23. ;; Delete the pre-compiled elc files for Emacs 23.
(zero? (system* "make" "clean")))) (invoke "make" "clean")))
(add-after 'install 'install-doc (add-after 'install 'install-doc
(lambda* (#:key make-flags #:allow-other-keys) (lambda* (#:key make-flags #:allow-other-keys)
;; XXX FIXME avoid building/installing pdf files, ;; XXX FIXME avoid building/installing pdf files,
;; due to unresolved errors building them. ;; due to unresolved errors building them.
(substitute* "Makefile" (substitute* "Makefile"
((" [^ ]*\\.pdf") "")) ((" [^ ]*\\.pdf") ""))
(zero? (apply system* "make" "install-doc" (apply invoke "make" "install-doc" make-flags))))))
make-flags)))))))
(home-page "http://proofgeneral.inf.ed.ac.uk/") (home-page "http://proofgeneral.inf.ed.ac.uk/")
(synopsis "Generic front-end for proof assistants based on Emacs") (synopsis "Generic front-end for proof assistants based on Emacs")
(description (description