gnu: sloccount: Use INVOKE.
* gnu/packages/code.scm (sloccount)[arguments]: Use INVOKE and unconditionally return #T from build phases.
This commit is contained in:
parent
c28bf42f2a
commit
e99b47729a
|
@ -186,14 +186,15 @@ around in a large, deeply nested project.")
|
||||||
(mkdir-p (string-append out
|
(mkdir-p (string-append out
|
||||||
"/share/man/man1"))
|
"/share/man/man1"))
|
||||||
(mkdir-p (string-append out
|
(mkdir-p (string-append out
|
||||||
"/share/doc")))))
|
"/share/doc"))
|
||||||
|
#t)))
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _
|
(lambda _
|
||||||
(setenv "HOME" (getcwd))
|
(setenv "HOME" (getcwd))
|
||||||
(setenv "PATH"
|
(setenv "PATH"
|
||||||
(string-append (getcwd) ":"
|
(string-append (getcwd) ":"
|
||||||
(getenv "PATH")))
|
(getenv "PATH")))
|
||||||
(zero? (system* "make" "test")))))
|
(invoke "make" "test"))))
|
||||||
|
|
||||||
#:make-flags (list (string-append "PREFIX="
|
#:make-flags (list (string-append "PREFIX="
|
||||||
(assoc-ref %outputs "out")))))
|
(assoc-ref %outputs "out")))))
|
||||||
|
|
Loading…
Reference in New Issue