mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
gnu: ucsim: Move documentation to "doc" output.
* gnu/packages/embedded.scm (ucsim)[arguments]<#:phases>: Expand "patch-makefiles" phase to set correct documentation-installation path. [outputs]: Add with "out", "doc". Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
9698a23f52
commit
06b4aa57b7
1 changed files with 8 additions and 1 deletions
|
@ -1610,7 +1610,13 @@ (define-public ucsim
|
|||
(add-after 'unpack 'patch-makefiles
|
||||
(lambda _
|
||||
(substitute* (find-files "." "(\\.mk$|\\.in$)")
|
||||
(("/bin/sh") (which "sh"))))))
|
||||
(("/bin/sh") (which "sh")))
|
||||
|
||||
;; Ensure the documentation is installed to the correct path,
|
||||
;; without a duplicate "ucsim" segment (necessary as we are
|
||||
;; building μCsim outside of SDCC).
|
||||
(substitute* "doc/Makefile.in"
|
||||
(("@docdir@/ucsim") "@docdir@")))))
|
||||
;; μCsim's regression-test suite is of little use in this context since
|
||||
;; it doesn't stop or return an error code when it encounters a problem.
|
||||
#:tests? #f))
|
||||
|
@ -1618,6 +1624,7 @@ (define-public ucsim
|
|||
(list ncurses))
|
||||
(native-inputs
|
||||
(list bison flex))
|
||||
(outputs '("out" "doc"))
|
||||
(home-page "http://mazsola.iit.uni-miskolc.hu/ucsim/")
|
||||
(synopsis "Simulators for various microcontroller families")
|
||||
(description "μCsim is a collection of software simulators for
|
||||
|
|
Loading…
Reference in a new issue