gnu: source-highlight: Inline skip-doc-directory phase.
* gnu/packages/pretty-print.scm (source-highlight) [source]: Fix indentation. [arguments]: Inline skip-doc-directory phase.master
parent
7d3bb28a6f
commit
530cf34edb
|
@ -9,7 +9,7 @@
|
|||
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
|
||||
;;; Copyright © 2021 Greg Hogan <code@greghogan.com>
|
||||
;;; Copyright © 2022 Zhu Zihao <all_but_last@163.com>
|
||||
;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
||||
;;; Copyright © 2022, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -299,17 +299,12 @@ a fast alternative to @code{IOStreams}.")
|
|||
(lambda _
|
||||
(substitute* "src/src-hilite-lesspipe.sh.in"
|
||||
(("lesspipe") "lesspipe.sh"))))
|
||||
#$@(if (%current-target-system)
|
||||
;; 'doc/Makefile.am' tries to run stuff even when
|
||||
;; cross-compiling. Explicitly skip it.
|
||||
;; XXX: Inline this on next rebuild cycle.
|
||||
#~((add-before 'build 'skip-doc-directory
|
||||
(add-before 'build 'skip-doc-directory
|
||||
(lambda _
|
||||
(substitute* "Makefile"
|
||||
(("^SUBDIRS = (.*) doc(.*)$" _ before after)
|
||||
(string-append "SUBDIRS = " before
|
||||
" " after "\n"))))))
|
||||
'())
|
||||
" " after "\n")))))
|
||||
(add-before 'check 'patch-test-files
|
||||
(lambda _
|
||||
;; Unpatch shebangs in test input so that source-highlight
|
||||
|
|
Reference in New Issue